Skip to content

Installation of R and gplots library

Trevor Pugh edited this page Mar 9, 2016 · 9 revisions

Instructions to install R and dependent libraries used by VisCap

  1. Download and install R-2.15.1 from the R Project for Statistical Computing website. Direct link for PC users: http://cran.r-project.org/bin/windows/base/old/2.15.1/R-2.15.1-win.exe

  2. Once installed, run R using the shortcut created on the Windows Desktop or Start Menu.

  3. To install required libraries, run the following commands (copy and paste):
    install.packages("gplots")
    install.packages("zoo")
    install.packages("cluster")

    If you get the error:
    --- Please select a CRAN mirror for use in this session ---
    Select USA (PA 1), USA (PA2), or USA (MD)

    CRAN is a network of ftp and web servers around the world that store identical, up-to-date, versions of code and documentation for R. Please use the CRAN mirror nearest to you to minimize network load.

  4. This will launch a series of commands to download and install “gplots “, “zoo”, “cluster” and supporting files.

  5. Exit R. You are now ready to run VisCap on your local computer.

Clone this wiki locally