Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
已更新 mirror-help/bioc.md
authored
Nov 13, 2017
by
Guest
Show whitespace changes
Inline
Side-by-side
mirror-help/bioc.md
View page @
7bfeb026
...
@@ -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.