2 Preparation for Workshop

Please follow the instructions in this section prior to attending the 2020 NABs conference.

2.1 Install R and R Studio

Please install R and R Studio by following the links below.

Software Link
R https://cran.r-project.org/bin/windows/base/
R Studio https://www.rstudio.com/products/rstudio/download/#download

2.2 Updating Software and Packages

2.2.1 R

For Windows Operating Systems, run the following code in the RGui, NOT in R Studio. The RGui should be installed when you install R. On my Windows machine, I access RGui by clicking on the R program file– my current file name is “R x64 3.6.2”.

Once you have the RGui open, copy and paste the R code below into the R Console window. Make sure R Studio is closed before running this code within the RGui. Hit enter once to install the installr package. Hit enter a second time to run the installer package function updateR() and follow the instructions.

This code was copied from: https://www.r-statistics.com/2013/03/updating-r-from-r-on-windows-using-the-installr-package/).

2.2.2 R Studio

  1. Open R Studio
  2. Click on “Help” on the toolbar
  3. Click on “Check for Updates”
  4. Follow instructions

2.2.3 R-Packages

  1. Open R Studio
  2. Click on “Tools” on the toolbar
  3. Click on “Check for Package Updates…”
  4. Follow instructions

2.2.3.1 Packages for the Workshop

Please run the following code within R Studio to make sure you have all of necessary packages for this workshop installed.

  1. Open R Studio
  2. Copy the following code
  1. Paste the code into the Console within R Studio
  2. Hit Enter
    • If prompted with “Do you want to restart R prior to installing?”, select “Yes”
    • If prompted again then select “No”
  3. The packages should begin to install. This may take some time.