I must use RStudio and they have not taught me how to use it. I already installed R, Rstudio and RTools, but when I try to install a package I get the following error and it just won't load. Can you help me to see what happens? Thank you.
I am able to replicate this error message by disconnecting myself from the internet, and attempting to install a package.
- You obviously have internet access to post this question to this forum, but are you connected when you try to install this package?
- You may also behind a proxy or firewall that prevents you connection to CRAN.
Check if this solution works for you, install.packages unable to access index for repository: Try disabling “secure download method for HTTP”,
That is, Global option -> Packages-> Use secure download method for HTTP.
Thank you very much for your answer.
I tried it and it worked for me.