简体   繁体   中英

Error installing packages in R Studio

I updated the R and R Studio to the latest versions ie R 3.2.0 and R studio 0.98.1103 on my 64-bit Windows 7 operating system. When I try to install packages in R after this update the error is thrown:

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

Please help!

Try this:

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

Now try installing any package. Hope it works

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM