install.packages("swirl")
I'm getting error ( unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://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:
Trying to install swirl using commands on RStudio
https://cran.rstudio.com/bin/windows/Rtools/ 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 ‘swirl’ is not available for this version of R
A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages Warning in install.packages : unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.3: cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/PACKAGES')