0
> install.packages("dplyr")
Warning in install.packages :
unable to access index for repository 
https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
Installing package into ‘C:/Users/DELL/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository 
https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
Warning in install.packages :
package ‘dplyr’ is not available (for R version 3.5.1)
Warning in install.packages :
unable to access index for repository 
https://cran.rstudio.com/bin/windows/contrib/3.5:
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/PACKAGES'

My windows system is the Chinese version, but I installed Rstudio on the official website, maybe Rstudio is converted into Chinese version by default? I can't install any packages, it kept warning like that, and I reinstalled it like three times...Can someone help me? Really appreciate it.

Roland
  • 127,288
  • 10
  • 191
  • 288
wawawa
  • 2,835
  • 6
  • 44
  • 105
  • Perhaps you meant to install `dplyr`? Cause you have a typo in the name of the package – 12b345b6b78 Nov 16 '18 at 00:06
  • sorry I just edited the question haha, still cannot install – wawawa Nov 16 '18 at 00:19
  • 1
    Do you have sufficient privileges to query CRAN and install things where you wanna install them? Point being it may not necessarily be an R-related problem – 12b345b6b78 Nov 16 '18 at 00:21
  • 1
    Take a look at [this question](https://stackoverflow.com/questions/25721884/how-should-i-deal-with-package-xxx-is-not-available-for-r-version-x-y-z-wa) – mickey Nov 16 '18 at 00:23
  • 1
    Can you browse to https://cran.rstudio.com/src/contrib/PACKAGES manually? The `cannot open URL` is not encouraging. – r2evans Nov 16 '18 at 00:26
  • @mickey Problem solved!!! Thank you so much! I didn't find that question before, I tried the method mentioned in that question, and it works! – wawawa Nov 16 '18 at 00:42

0 Answers0