R installation on any platform

Unfortunately, Microsoft R Open requires admin access to install.  If you are using a university computer, or some computer where you do not have admin rights, you will need the Regular R from CRAN:

  1. Download the appropriate version of R program from CRAN: HTML.
  2. Download and install the appropriate version of R-Studio: HTML.
  3. Mac only1: Install Homebrew & GLPK:
    1. Open Terminal (Command-Space then type terminal)
    2. Install Homebrew by executing the command: 

      /usr/bin/ruby -e "$(curl -fsSL"
    3. Install GLPK using Homebrew by executing the command: 

      brew install glpk
  4. Have fun!

RStudio setup tips

  1. Soft-wrap code: Tools -> Global Options -> Code -> select “soft wrap”

Online R tutorial

  • Quick-R tutorial: HTML.
  • DataCamp has many tutorials (R and python): HTML.
  • Sample datain.csv file: CSV.


  1. Special thanks to Chris Meade in 2018H1 FIN136 for this info