5
2

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でtrying to use CRAN without setting a mirrorと言われたら

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")
5
2
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
5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?