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:
- Download the appropriate version of R program from CRAN: HTML.
- Download and install the appropriate version of R-Studio: HTML.
- Mac only1: Install Homebrew & GLPK:
- Open Terminal (Command-Space then type terminal)
- Install Homebrew by executing the command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install GLPK using Homebrew by executing the command:
brew install glpk
- Have fun!
RStudio setup tips
- 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.
Footnotes
- Special thanks to Chris Meade in 2018H1 FIN136 for this info