I just tried to download the R packages for my working computer but I run into issues when using install.packages()
:
install.packages("dplyr")
unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.5:
cannot open URL 'http://cran.rstudio.com/bin/windows/contrib/3.5/PACKAGES'
I also tried to install the package by hand myself, downloading it from CRAN website, unzipping it, and moving it into the library folder. This time the errors shows :
‘dplyr’ is not a valid installed package
Does anyone know how to deal with that? Thanks a lot!
Just to post answers for those who meet the same situations as me: https://mran.microsoft.com/download download the Microsoft R Application Network instead of the R version from official website. and the packages can be downloaded successfully!