Reputation: 375
I updated the R and R Studio to the latest versions i.e 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!
Upvotes: 1
Views: 3550
Reputation: 364
Try this:
options(repos=structure(c(CRAN="http://cran.us.r-project.org")))
Now try installing any package. Hope it works
Upvotes: 1