Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in BI by (29.3k points)
I am unable to Install Package in my R-studio. Please see the msg I am getting while installing :"dplyr"
____________________________________________________
Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
  cannot open URL '
https://cran.rstudio.com/src/contrib/PACKAGES'
Warning: unable to access index for repository 
https://cran.rstudio.com/src/contrib:
  cannot open URL '
https://cran.rstudio.com/src/contrib/PACKAGES'
> install.packages(dplyr)
Error in install.packages : object 'dplyr' not found
Also, I have actually no Package installed and while updating I am getting msg All Packages are up to Date..
How can I resolve this issue? Please help ASAP.

1 Answer

0 votes
by (50.2k points)

Please try this command that will resolve your issue:

options(repos = c(CRAN = "http://cran.rstudio.com"))
install.packages("dplyr")

Related questions

+1 vote
1 answer
0 votes
1 answer
asked Oct 19, 2019 in SQL by chandra (29.3k points)
+1 vote
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...