You'll need Program R installed on your computer. We also recommend RStudio as a nice interface to Program R. Each is a separate installation. Installation instructions below.
You will need software installation privileges on your computer.
Version 4.2.3 is the latest version. We recommend updating to this version if you already have an outdated version installed.
Go to https://cran.r-project.org/
For Windows (the same page has similar links for macOS or Linux)
Select "Download R for Windows"
Select "install R for the first time"
Download installer file and follow installation instructions; default settings are okay.
Version 2023.03.0+386 is the latest version. We recommend updating to this version if you already have an outdated version installed.
Go to https://posit.co/download/rstudio-desktop/
For Windows (follow similar steps for macOS or Linux)
Scroll down to "2: Install RStudio"
Select "Download RStudio for Windows"
Download installer file and follow installation instructions; default settings are okay.
Download the installPackages.R R script and open in RStudio. Highlight all text and click "Run".
This will install the necessary R packages (i.e., extra tools and functions you'll need in R) and check that everything worked with your installation. We don't expect you to understand the details of this code, just reach out to your instructors if any warnings or errors are produced when you run it. Note, warnings about "the following object is masked..." are normal and not an issue.