首页 > 其他 > 详细

无法安装R程序包

时间:2017-09-03 09:23:13      阅读:963      评论:0      收藏:0      [点我收藏+]

如题,使用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程序包

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

(0)
(1)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!