最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

homebrew - After `brew install R`, I write `~.Rprofile`, and R do not load this file, why? - Stack Overflow

programmeradmin23浏览0评论

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?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论