

Once you have installed the latest version of R, open RStudio and select Tools > Global Options.

If not, follow the instructions in this guide for "Installing R." If the first line of your console reads R version 4.0.4 () - "Lost Library Book", then you have the correct version of R. They will work even if you already have software installed. If in any doubt, follow the "Installing R" instructions. In this class, we will be using R version 4.0.4 (Lost Library Book). If you have R and/or RStudio installed, you must still make sure that they are up to date so that you can you can run all of the necessary code. Wait until you see a > symbol followed by a blinking cursor (this looks very dramatic, and may take up to a minute, so don't be surprised). You will see various text appear in the console. In the bottom-left tab, labelled "Console", type install.packages("tidyverse") and hit enter. Select the installer appropriate for your operating system You should be able to click "Next" to all dialogs to finish the installation. When the file finishes downloading, double-click to install.

Before the first lecture you should have the following software installed on your machine:įollow these instructions if you have not previously installed R, Rstudio or tidyverse, or if you are unsure.
