1

我在我的 64 位 Windows 7 操作系统上将 R 和 R Studio 更新到了最新版本,即 R 3.2.0 和 R Studio 0.98.1103。当我在此更新后尝试在 R 中安装软件包时,会引发错误:

Warning in install.packages :
  downloaded length 4878 != reported length 200
Error in install.packages : subscript out of bounds

请帮忙!

4

1 回答 1

1

尝试这个:

options(repos=structure(c(CRAN="http://cran.us.r-project.org")))

现在尝试安装任何软件包。希望它有效

于 2015-04-29T13:38:54.570 回答