Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
4 views
in BI by (29.3k points)
Apparently, it is asking to download the appropriate version of Rtools, as it is required to build R packages. Please advise further. 
> options(repos = c(CRAN = "http://cran.rstudio.com"))
> install.packages("dplyr")
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: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:


https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Vikram/Documents/R/win-library/3.6’
(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 ‘dplyr’ is not available (for R version 3.6.1)
Warning in install.packages :
  unable to access index for repository 
http://cran.rstudio.com/bin/windows/contrib/3.6:
  cannot open URL '
http://cran.rstudio.com/bin/windows/contrib/3.6/PACKAGES'

1 Answer

0 votes
by (50.2k points)
we suggest you to uninstall R studio and then install it again and disable the antivirus or firewall when installing the R studio and while downloading the packages.
Please go through the suggestion and try to install the packages your issue will be resolved.

Related questions

+1 vote
1 answer
+1 vote
1 answer
0 votes
1 answer
asked Oct 19, 2019 in SQL by chandra (29.3k points)
0 votes
1 answer
asked Feb 17, 2021 in Java by Harsh (1.5k points)

Browse Categories

...