package ‘RPMM’ is not available (for R version 3.6.0)

当我们用启动R安装一些R包的时候 提示:

Warning: unable to access index for repository https://mirrors.eliteu.cn/CRAN/src/contrib:
  cannot open URL 'https://mirrors.eliteu.cn/CRAN/src/contrib/PACKAGES'
Warning message:
package ‘RPMM’ is not available (for R version 3.6.0)


执行以下命令

setRepositories(addURLs = c(CRANxtras = "http://cran.at.r-project.org/"))

在执行 install.packages("package_name")

还有就是当安转的时候然选择来源:选择(HTTP mirrors) 这是因为,centos网络https访问不了,只能访问http的源造成的

猜你喜欢

转载自www.cnblogs.com/lph970417/p/11655371.html