Previous: UNIX and Linux Up: UNIX and Linux Next: Installing Zelig

Installing R

Type R at the terminal prompt (which we denote as % in this section) to see if R is available. (Typing q() will enable you to quit.) If it is installed, proceed to the next section. If it is not installed and you are not the administrator, contact that individual, kindly request that they install R on the server, and continue to the next section. If you have administrator privileges, you may download the latest release at the CRAN website. Although installation varies according to your Linux distribution, we provide an example for Red Hat Linux 9.0 as a guide:

  1. Log in as root.

  2. Download the appropriate binary file for Red Hat 9 from CRAN. For example, for Red Hat 9 running on the Intel 386 platform, go to http://cran.r-project.org/bin/linux/.

  3. Type the following command at the terminal prompt:
    % rpm -ivh R-2.5.1-1.i386.rpm



Gary King 2011-11-29