无法安装R程序包

如题,使用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]

祝君问题早日解决。

posted @ 2017-09-03 08:56  aongao  阅读(1488)  评论(0编辑  收藏  举报