文章目录
- 一、项目场景
- 二、解决办法
一、项目场景
在使用 Rstudio 下载 aTSA
包时出现了报错,网络无问题,大致报错如下:
Warning in install.packages :
package ‘aTSA’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project/doc/manuals/r-patched/R-admin.html#Installing-packages
二、解决办法
本来想着更新自己 R 语言版本的,但是麻烦太大,换了好几个镜像源也没有,查了半天资料终于解决:
install.packages('aTSA', dependencies=TRUE, repos='http://cran.rstudio/')
使用上述命令替换 install.packages
命令即可。
问题解决。
更多推荐
“package ‘******’ is not available for this version of R“——Rstudio下载包报错
发布评论