Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
R をインストールする / Install R
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kenji Saito
PRO
November 28, 2023
Business
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
R をインストールする / Install R
早稲田大学大学院経営管理研究科「企業データ分析」2023 冬のオンデマンド教材 第2回で使用したスライドです。
Kenji Saito
PRO
November 28, 2023
More Decks by Kenji Saito
See All by Kenji Saito
FinTech 7-8 : Blockchain
ks91
PRO
0
51
Fall 2026: A Guide & Workshop on Using AI for Academic Paper Writing
ks91
PRO
0
50
FinTech 5-6 : The World of Apps
ks91
PRO
0
61
終わらない幼年期とそのための下部構造・社会資本 / The Never-Ending Childhood and the Infrastructure and Social Capital Needed to Support It
ks91
PRO
0
31
FinTech 3-4 : Internet Technology and Governance
ks91
PRO
0
76
2026 秋 生成AI を活用した論文執筆ガイド/ワークショップ / Fall 2026: Guide and Workshop on Writing Papers Using Generative AI
ks91
PRO
0
150
AIとビジネス・メガトレンド 〜 サイバネティクス的経営観 / AI and Business Megatrends: A Cybernetic Perspective on Management
ks91
PRO
0
44
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
160
アカデミーキャンプ 2026秋「位置ゲーに秀でよ!ウチらとヤツらのゲーム・デザイン」DAY 4 / Academy Camp 2026 Fall - Excel at Location-Based Games! Our and Their Game Design DAY 4
ks91
PRO
0
65
Other Decks in Business
See All in Business
(スライド版) 全社AI推進プロジェクト開始から半年で 組織に起きた5つの変化 〜kubellのkube-AIで見えた成果と課題〜 / ai-project-progress
takeshisumida_
1
270
Podpora KOVY | 24. 9. 2026
ggfs
PRO
0
460
キャンバスエッジ株式会社 会社説明資料
canvasedge
0
20k
Your AI doesn’t have a point of view.
macgupta
0
110
新卒採用向け説明資料
kazumakitao
PRO
1
4.1k
ログラス会社紹介資料 新卒採用 ビジネス職[経営幹部候補]/ Loglass Company Deck
loglass2019
2
26k
YassLab (株) サービス紹介 / Introduction of YassLab
yasslab
PRO
3
45k
ARI_BXデザイン第2事業ドメイン_事業紹介資料
arid2
0
880
Trend Cloud OneからTrendAI Vision Oneへの切替 - 事前に押さえたい疑問とつまずきやすいポイント
todatomohiro
0
250
アジャイルのインストールと実践 ~導入の軌跡と現在地~
nakahara
0
310
ハンディ株式会社 | 会社ご説明資料
handy_official
0
470
I Ran 30+ GEO Experiments So You Don't Have To: What 200M AI Citations Say Actually Works
thomaspeham
1
150
Featured
See All Featured
Design in an AI World
tapps
1
360
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.3k
Site-Speed That Sticks
csswizardry
13
1.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.8k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
500
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
580
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
610
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Thoughts on Productivity
jonyablonski
76
5.4k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
KATA
mclloyd
PRO
35
16k
Transcript
generated by Stable Diffusion XL v1.0 2023 2 R (WBS)
2023 2 R — 2023-11 – p.1/22
https://speakerdeck.com/ks91 2023 2 R — 2023-11 – p.2/22
( 20 ) 1 • 2 R • 3 4
5 6 ( ) 7 (1) 8 (2) 9 R ( ) (1) 10 R ( ) (2) 11 R ( ) (1) 12 R ( ) (2) 13 GPT-4 14 GPT-4 15 ( ) LaTeX Overleaf 8 (12/14 ) / (2 ) OK / 2023 2 R — 2023-11 – p.3/22
R ( ) ( 8 ) : GPL (GNU General
Public License) 2023 2 R — 2023-11 – p.4/22
GNU General Public License (GPL) GNU ( ) GNU’s Not
Unix . . . GNU GPL GNU ( ) 0: ( ) 1: ↑ 2: 3: 4 → (copyleft) 4 copyleft R 2023 2 R — 2023-11 – p.5/22
RStudio R Python (IDE) GPL . . . R RStudio
( ) RStudio Desktop ↑ . . . 2023 2 R — 2023-11 – p.6/22
R RStudio R Windows macOS — — Linux (Ubuntu) GPL
( ) ↑ 2023 2 R — 2023-11 – p.7/22
Windows Windows 11 ARM (macOS ) (Intel ) ARM :
Arm Ltd. mac SoC (System on a Chip) (M1∼M3) Intel : Intel 2023 2 R — 2023-11 – p.8/22
R (Windows ) . . . https://www.r-project.org/ “download R” OS
R Windows ( ) OK 2023 2 R — 2023-11 – p.9/22
RStudio Desktop (Windows ) . . . https://posit.co/download/rstudio-desktop/ “2: Install
RStudio” OS RStudio “1: Install R” R ← RStudio . . . Windows ( ) OK RStudio Choose R Installation → default 64-bit version of R OK crash reports → 2023 2 R — 2023-11 – p.10/22
Console ‘> ’ 1 > x <- c(1, 2, 3,
4, 5) # X > y <- c(5, 4, 3, 2, 1) # Y > plot(x, y) # > plot(x, y, xlim=c(0, 6), ylim=c(0, 6)) # > m <- lm(y ~ x) # x y > m # > abline(m) # ‘> ’ # R ‘<-’ ‘c( . . . )’ combine ‘xlim’ ‘ylim’ ‘lm( . . . )’ linear model ( ) ‘A ∼ B’ B A ‘abline( . . . )’ 2023 2 R — 2023-11 – p.11/22
macOS macOS Ventura 13.6.1 Apple (ARM) Apple : M1∼M3 2023
2 R — 2023-11 – p.12/22
R (macOS ) . . . https://www.r-project.org/ “download R” OS
R macOS OK 2023 2 R — 2023-11 – p.13/22
RStudio Desktop (macOS ) . . . https://posit.co/download/rstudio-desktop/ “2: Install
RStudio” OS RStudio “1: Install R” R ← RStudio . . . macOS RStudio 2023 2 R — 2023-11 – p.14/22
p.11 ‘Plots’ ‘Export’ ‘Save as Image...’ EPS (Encapsulated PostScript) EPS
L ATEX EPS macOS Skim PDF Windows (macOS ) PowerPoint (↑) . . . PDF PDF 2023 2 R — 2023-11 – p.15/22
Linux RStudio Desktop 2023 2 R — 2023-11 – p.16/22
Linux (Ubuntu) Ubuntu 22.04 ARM (macOS ) ARM (binary) :
2 (source) : ( ) (build) : 2023 2 R — 2023-11 – p.17/22
R (Ubuntu ) (1/2) . . . https://www.r-project.org/ “download R”
“Source Code for all Platforms” “∼.tar.gz” unzip tar https://docs.posit.co/resources/install-r-source/ $ sudo sed -i.bak "/^#.*deb-src.*universe$/s/^# //g" /etc/apt/sources.list $ sudo apt update $ sudo apt build-dep r-base $ export R_VERSION=4.3.2 2023 2 R — 2023-11 – p.18/22
R (Ubuntu ) (2/2) https://docs.posit.co/resources/install-r-source/ (tar ) $ ./configure \
--prefix=/opt/R/${R_VERSION} \ --enable-R-shlib \ --enable-memory-profiling \ --with-blas \ --with-lapack $ make $ sudo make install $ sudo ln -s /opt/R/${R_VERSION}/bin/R /usr/local/bin/R $ sudo ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/local/bin/Rscript 2023 2 R — 2023-11 – p.19/22
RStudio Desktop (Ubuntu ) ( ) https://dailies.rstudio.com/rstudio/cherry-blossom/electron/jammy-arm64/ .deb $ sudo
apt install ./ 2023 2 R — 2023-11 – p.20/22
p.11 2023 2 R — 2023-11 – p.21/22
2023 2 R — 2023-11 – p.22/22