admin管理员组

文章数量:1123195

As title shown, after using brew install R(no GUI version), the R code options('repos) returns

$repos
    CRAN
"@CRAN@"

So I want to write the file ~/.Rprofile to customize the repos.

The code below is written in .Rprofile.

options("repos" = c(CRAN='/'))

But It is failed, still returns $repos CRAN "@CRAN@". Why?

It's very smooth to write like this on windows, but not work in mac.

I have no idea.

Put .Rprofile to the right path ~, but can not be loaded.

Does someone have the same problem?

本文标签: