1. 程式人生 > >無法安裝R程序包

無法安裝R程序包

選擇 package sat style con 程序 open not tor

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