saving . . . saved Installing plyr and MASS has been deleted. Installing plyr and MASS has been hidden .
Installing plyr and MASS
Title
Question
Hi, I followed the same instructions as mentioned in the tutorial for the installation of plyr and MASS but am getting a warning message, unable to access index, cannot open url.
This is what I got for MASS:
> install.packages("MASS")
Warning in install.packages :
  unable to access index for repository http://cran.rstudio.com/src/contrib:
  cannot open URL 'http://cran.rstudio.com/src/contrib/PACKAGES'
Installing package into ‘C:/Users/user/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository http://cran.rstudio.com/src/contrib:
  cannot open URL 'http://cran.rstudio.com/src/contrib/PACKAGES'
Warning in install.packages :
  package ‘MASS’ is not available (for R version 4.0.0)
Warning in install.packages :
  unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/4.0:
  cannot open URL 'http://cran.rstudio.com/bin/windows/contrib/4.0/PACKAGES'

This is what I got for plyr:
 install.packages("plyr")
Warning in install.packages :
  unable to access index for repository http://cran.rstudio.com/src/contrib:
  cannot open URL 'http://cran.rstudio.com/src/contrib/PACKAGES'
Installing package into ‘C:/Users/user/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository http://cran.rstudio.com/src/contrib:
  cannot open URL 'http://cran.rstudio.com/src/contrib/PACKAGES'
Warning in install.packages :
  package ‘plyr’ is not available (for R version 4.0.0)
Warning in install.packages :
  unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/4.0:
  cannot open URL 'http://cran.rstudio.com/bin/windows/contrib/4.0/PACKAGES'

Pls help me out with this problem

R Installing-R-and-RStudio-on-Windows 09-10 min 40-50 sec 12-05-20, 11:34 a.m. bryce_dsouza

Answers:

Please ensure that you have a working internet connection. For more information, you should visit here: 
https://community.rstudio.com/t/unable-to-install-package-in-r-studio/15930/9
12-05-20, 1:52 p.m. sudhakarst


Log-in to answer to this question.