Problems when installing R packages

Just a quick post to help others that may be having similar issues when trying to install R packages.

When using the install.packages command: 
install.packages("package name",lib="/my/own/R-packages/")

If you get this error message: 
Warning: Unable to access index for repository..
Package is not available for R version 3.2.1...

Here is what I did and it worked.
On the menu Options at the top of your RStudio, click on Packages, select Set CRAN Mirror. Try changing the location and it should work.


Comments

Popular posts from this blog

Marcus Aurelius: The Philosopher Roman Emperor

How to Fix PS5 Pro Lag/Stutter Issue

What can be done about Food Waste?