0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Rのコマンド実行 (超省略メモ)

Last updated at Posted at 2020-03-01

ファイル作成

実行ソース(.R)は RStudio から New File ⇒ RScript を選択し、保存すれば作成が可能

コマンドライン実行

Rscript programfile.r

で実行可能

CentOS で Rscript を実行するには

yum install R --enablerepo=epel 

でRをいれたら実行できる(はず

Windows で Rscript を実行するには

C:\Program Files\R\R-*.*.*\bin

に環境変数をとおせば実行可能
※ *はバージョンで違う
※ Cドライブかはあなた次第

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?