1. Set up

  1. Install R and Rstudio.
  2. 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.
  3. Install the following R packages.