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())

1 comment:

  1. Ty ty... keep coming here over and over but forgot to thank! Now I wrote this comm down, therefore must thank!

    ReplyDelete