Cristian Preda
Professor of Statistics
Ecole Polytechnique Universitaire de Lille

How do I get and install R?
  1. Go to R site.
  2. On the left menu select Download CRAN.
  3. Select your closest mirror.
  4. From Download and Install R choose your operating system.
  5. If you did not choose Windows, you're smart enough to continue by yourself. For Windows users keep following.
  6. Go to base.
  7. Download the .exe file, the setup program.
  8. Once downloaded, run it and follow the setup program.
  9. Done.

How do I add R in the PATH environment variable?
  1. From the desktop, right click My Computer and click properties.
  2. In the System Properties window, click on the Advanced tab.
  3. In the Advanced section, click the Environment Variables button.
  4. Finally, in the Environment Variables window, highlight the path variable in the Systems Variable section and click edit. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.
    C:\Program Files;C:\Winnt;C:\Winnt\System32;C:\Program Files\R\R-2.6.0\bin
  5. Done.