美文网首页
R修改配置

R修改配置

作者: 熊逸Byron | 来源:发表于2019-08-12 15:25 被阅读0次

修改安装包的镜像

file.edit(".Rprofile")

options(BioC_mirror="https://mirrors.tuna.tsinghua.edu.cn/bioconductor")

#CRAN

options(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")

修改包的安装地址

file.edit('~/.Renviron')
R_LIBS_USER="~/你的目录" #如果是windows则改为"x:/你的目录"

修改R的版本
Rstudio--> tools --> General

相关文章

网友评论

      本文标题:R修改配置

      本文链接:https://www.haomeiwen.com/subject/xpeujctx.html