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 @
09ec4297
...
...
@@ -14,10 +14,10 @@
# 超算中心重置镜像路径
1.
打开Rprofile文件,文件路径 R安装目录/lib[或lib64]/R/library/base/R/Rprofile
2.
在文件末尾加入默认CRAN路径位置
```
`
local({r <- getOption("repos")
`local({r <- getOption("repos")
r["CRAN"] <- "202.117.120.246/mirrors/CRAN/"
options(repos=r)
})`
``
})`
3 options(repos=structure(c(CRAN="202.117.120.246/mirrors/CRAN")))