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