More than 5 years have passed since last update.
Rでtrying to use CRAN without setting a mirrorと言われたら
5
Last updated at Posted at 2016-02-29
概要
パッケージを入れようとして、以下のようなエラーメッセージにあうことがある。
新規に環境を作ったときなど。
trying to use CRAN without setting a mirror
結論1、設定ファイルに書く
~/.Rprofile
options(repos = structure(c(CRAN = "http://cran.ism.ac.jp/")))
結論2、インストール時に指定する。
install.packages('RUnit', repos = "http://cran.us.r-project.org")
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
