Showing posts with label CRAN mirror. Show all posts
Showing posts with label CRAN mirror. Show all posts

Tuesday, November 6, 2012

how to choose or change CRAN mirror in R or RStudio

Usually R/Rstudio shows list of CRAN mirror at first glance, while installing packages. Often it seems good to select CRAN mirror interactively. For instance, I had chosen a mirror but I have to change due to certain problems in which case the below command works better.

install.packages("your_favorite_package", chooseCRANmirror())