码迷,mamicode.com
首页 > 其他好文 > 详细

无法安装R程序包

时间:2017-09-03 10:01:14      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:span   win   ack   url   3.4   管理员   ble   for   repos   

如题,使用insatll.packages("cluster")安装包时,会出现如下错误提示。

Warning: unable to access index for repository https://mirror.lzu.edu.cn/CRAN/src/contrib:
cannot open URL ‘https://mirror.lzu.edu.cn/CRAN/src/contrib/PACKAGES‘
Warning: unable to access index for repository https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4:
cannot open URL ‘https://mirror.lzu.edu.cn/CRAN/bin/windows/contrib/3.4/PACKAGES‘
Warning message:
package ‘cluster’ is not available (for R version 3.4.1)

解决方法:如果已经使用了管理员用户权限登录并且已经在网上尝试过其他方法仍不解决的话,可以尝试选择其他镜像路径

>>chooseCRANmirror()

例如选择UK(Bristol)[https]

祝君问题早日解决。

无法安装R程序包

标签:span   win   ack   url   3.4   管理员   ble   for   repos   

原文地址:http://www.cnblogs.com/aongao/p/7468749.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!