美文网首页
[R]R指定国内镜像安装R包(R packages)

[R]R指定国内镜像安装R包(R packages)

作者: 郑宝童 | 来源:发表于2018-11-20 10:43 被阅读38次
options(repos=structure(c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")))
install.packages("包名")

国内其他镜像
China
https://mirrors.tuna.tsinghua.edu.cn/CRAN/ TUNA Team, Tsinghua University
http://mirrors.tuna.tsinghua.edu.cn/CRAN/ TUNA Team, Tsinghua University
https://mirrors.ustc.edu.cn/CRAN/ University of Science and Technology of China
http://mirrors.ustc.edu.cn/CRAN/ University of Science and Technology of China
https://mirror-hk.koddos.net/CRAN/ KoDDoS in Hong Kong
https://mirrors.eliteu.cn/CRAN/ Elite Education
https://mirror.lzu.edu.cn/CRAN/ Lanzhou University Open Source Society
http://mirror.lzu.edu.cn/CRAN/ Lanzhou University Open Source Society
https://mirrors.tongji.edu.cn/CRAN/ Tongji University
https://mirrors.shu.edu.cn/CRAN/ Shanghai University

若想查找其他国家或者地区的镜像请访问:https://cran.r-project.org/mirrors.html

相关文章

网友评论

      本文标题:[R]R指定国内镜像安装R包(R packages)

      本文链接:https://www.haomeiwen.com/subject/pqetqqtx.html