{"title": "\u5b9a\u5236R\u8bed\u8a00\u8f6f\u4ef6\u5b89\u88c5\u7684\u955c\u50cf\u5730\u5740\u4e3a\u963f\u91cc\u4e91", "update_time": "2017-08-07 22:47:30", "tags": "CRAN", "pid": "339", "icon": "default.png"}
针对Linux和Mac用户,创建$HOME/.Rprofile 文件(这个文件类似于bash的bash_profile文件) ``` local({r <- getOption("repos") r["CRAN"] <- "http://mirrors.aliyun.com/CRAN/" r["CRANextra"] <- "http://mirrors.aliyun.com/CRAN/" options(repos=r)}) ```