CRAN Mirror

The following guide will allow users to download R packages from CRAN by connecting to a trusted mirror from either a Linux or Windows workstation

In R, issue the following command (change <package> to the package you'd like to install):

install.packages("<package>", repos="http://cran.services.brown.edu")

You may be prompted with two dialog windows:

1) Would you like to use a personal library instead?

2) Would you like to use a personal library "C:\Users\"....

Choose Yes for both of them.

Last updated