Changes
Page history
已更新 mirror-help/bioc.md
authored
Nov 13, 2017
by
Guest
Hide whitespace changes
Inline
Side-by-side
mirror-help/bioc.md
View page @
ce79564a
...
...
@@ -14,10 +14,10 @@
# 超算中心重置镜像路径
1.
打开Rprofile文件,文件路径 R安装目录/lib[或lib64]/R/library/base/R/Rprofile
2.
在文件末尾加入默认CRAN路径位置
`local({r <- getOption("repos")
`
r["CRAN"] <- "202.117.120.246/mirrors/CRAN/"
` options(repos=r)
})`
`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")))