Skip to content
已更新 mirror-help/bioc.md authored by Guest's avatar Guest
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
2. 运行R语言环境,安装BioInstaller包 2. 运行R语言环境,安装BioInstaller包
`source("https://bioconductor.org/biocLite.R")` `source("https://bioconductor.org/biocLite.R")`
`install.packages('BioInstaller')` `install.packages('BioInstaller')`
3. 3. 打开 `BioC_mirrors.csv` 文件,文件路径为`R安装路径/doc/BioC_mirrors.csv` 将下列语句粘贴在文件末尾
`China (Xi'an) [https],China,Xi'an,https://linux.xidian.edu.cn/mirrors/bioc/,"Xidian University","Xidian University Open Source Community",1,cn`
4.
# 超算中心重置镜像路径 # 超算中心重置镜像路径
1. 打开Rprofile文件,文件路径 R安装目录/lib[或lib64]/R/library/base/R/Rprofile 1. 打开Rprofile文件,文件路径 R安装目录/lib[或lib64]/R/library/base/R/Rprofile
...@@ -18,6 +20,7 @@ ...@@ -18,6 +20,7 @@
` r["CRAN"] <- "202.117.120.246/mirrors/CRAN/"` ` r["CRAN"] <- "202.117.120.246/mirrors/CRAN/"`
` options(repos=r)` ` options(repos=r)`
` })` ` })`
3 options(repos=structure(c(CRAN="202.117.120.246/mirrors/CRAN"))) > 其中的ip为linux.xidian.edu.cn的ip
3.