R包安装遇到的问题:
在安装R包时,通常会采用:install.packages("xxx") 进行安装,有时会碰到如下错误信息:
package 'xxx' is not available (for R version x.y.z)
解决办法:
install.packages('xxx',repos='http://cran.us.r-project.org')
参考网址:
https://stackoverflow.com/questions/25721884/how-should-i-deal-with-package-xxx-is-not-available-for-r-version-x-y-z-wa