How to install R packages on Windows


Start R and choose from the Packages menu the option Set CRAN mirror. Then execute the commands found in install_packages_windows.txt.

To use the packages type the commands found in library_windows.txt.

If access is restricted by a firewall, follow the steps below to save zip files for each package and install locally:

  1. Go to the CRAN web site and select the required packages
    (note: the packages required for RClim are listed in this file: package_list.txt).
  2. Download the Windows binary zip file. Save to a desired location.
  3. Start R and choose from the Packages menu the option Install package(s) from local zip files.
  4. To use the packages use the library command (found in library_windows.txt).
Comment Comment on this page.

If you would like to comment on this particular web page or on our website in general, we would be pleased to receive your views via the box below:

Your Name :
Your Email Address :
Comments/Feedback :

valid xhtml valid_css2 valid_firefoxie