Installing R

Learning R


 

  1. Go to www.r-project.org
  2. Choose one of the CRAN (Comprehensive R Archive Network) mirrors, such as https://cloud.r-project.org/ (Automatic redirection to servers worldwide, currently sponsored by Rstudio ).
  3. From "Download and Install R", choose Linux, Mac OS or Windows

    For Windows:

  1. Pick "base". This directory contains a Windows binary distribution to run on Windows. Follow the download instructions.
  2. For Mac OS

  1. Download and open the .pkg file
  2. Go through the Installer, clicking "continue" and "agree" when prompted.

If you need additional help, here are a couple of nice sites to get you over the installation hump:



Interfacing with R

 

Having installed R, there are three important ways of interacting with the software. These are:

  1. R - Studio – a development environment that is broadly used by industry analysts. The learning curve is minimal and so you will probably wish to use R-Studio. Like R, it is free. You may download R-studio here.
  2. Traditional R-console interface – a basic code editor. For some users, it can be nice to interact more directly with the core engine. Certainly, many, many analysts developed their R skills in the early days on this interface.
  3. R Commander – a graphical user interface (GUI). This interface generates R commands using a pull-down menu scheme. This is a very nice way to learn R and introduce yourself to the command language.

R Commander

 

Was written by John Fox. He has written a piece on getting started with R Commander available here. After you have installed R Commander, this is also available from the Help button under “Introduction to the R Commander.”

 

Nathasha Karp has written a detailed introduction to R Commander here.

 

 

For more detailed installation and configuration instructions, click here.


 

 

 

Date: 25 October 2018