The R Programming Language


Stephen Slade (stephen.slade@yale.edu)


We will be using the R programming language in many examples and problem sets in this course. This document provides instructions on installing the software and accessing online resources for R. The R mothership is http://www.r-project.org/


Getting the Software

R is available for free for most platforms including Mac, Windows, and Linux. You may download R from the Comprehensive R Archive Network (CRAN) by first selecting one of the many mirror sites at http://cran.r-project.org/mirrors.html For example, you may go to the Berkeley mirror: http://cran.cnr.berkeley.edu/ and then follow the instructions for your platform.


R Studio – a smooth RIDE

We recommend that you install the R Studio software, which is an Integrated Development Environment (IDE) for R. The main site for R Studio is https://www.rstudio.com/ The download site is https://www.rstudio.com/products/RStudio/



Learning to program in R


There are numerous online resources for learning R. We can recommend the following.

R in the Zoo

The undergraduate computing facility (the zoo) supports R, R Studio, and swirl.

As of: 07/24/2015 02:21 PM