1. Set up
- Install R and Rstudio.
- Install a set of development tools:
- On Windows, download and install Rtools.
- On Mac, install the Xcode command line tools.
- On Linux, install the R development package, usually called r-devel or r-base-dev.
- Install the following R packages.