内容引自:https://www.jianshu.com/p/861224f4251a
中科大的bioconductor镜像估计是不能用了
# options函数就是设置R运行过程中的一些选项设置
options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) #对应清华源
options(BioC_mirror="https://mirrors.tuna.tsinghua.edu.cn/bioconductor/") #对应清华源
# 当然可以换成其他地区的镜像
options()$repos
options()$BioC_mirror
当出现这些问题:
Installation path not writeable, unable to update packages:
Change R default library path using .libPaths in Rprofile.site fails to workstackoverflow.com![29878332116c0feea42c2afb49a0ef22.png](https://i-blog.csdnimg.cn/blog_migrate/d3efbf08e76a5d8fdbc760d560aec388.png)