Tech Setup
Ideally before class on Thurs Sep 5, and definitely before class on Tues Sep 10, you should follow these instructions to set up the software that we’ll be using throughout the semester. Even if you’ve already downloaded both R and RStudio, you’ll want to re-download to make sure that you have the most current versions.
Required: Download R and RStudio
- FIRST: Download R here.
- In the top section, you will see three links “Download R for …”
- Choose the link that corresponds to your computer.
- As of July 24, 2024, the latest version of R is 4.4.1 (“Race for Your Life”).
- SECOND: Download RStudio here.
- Click the button under step 2 to install the version of RStudio recommended for your computer.
- As of July 24, 2024, the latest version of RStudio is 2024.04.2 (Build 764).
- THIRD: Check that when you go to File > New Project > New Directory, you see “Quarto Website” as an option.
Suggested: Watch this video from Lisa Lendway at Macalester describing key configuration options for RStudio.
Suggested: Change the default file download location for your internet browser.
- Generally by default, internet browsers automatically save all files to the
Downloads
folder on your computer. In that case, you have to grab files fromDownloads
and move them to a more appropriate storage spot. You can change this option so that your browser asks you where to save each file before downloading it. - This page has information on how to do this for the most common browsers.
Required: Install required packages.
- An R package is an extra bit of functionality that will help us in our data analysis efforts in a variety of ways. Many contributors create open source packages that can be added to base R to perform certain tasks in new and better ways.
- For now, we’ll just make sure the
tidyverse
package is installed. Open RStudio and click on the Packages tab in the bottom right pane. Click the Install button and type “tidyverse” (without quotes) in the pop-up box. Click the Install button at the bottom of the pop-up box. - You will see a lot of text from status messages appearing in the Console as the packages are being installed. Wait until you see the
>
again. - Enter the command
library(tidyverse)
in the Console and hit Enter.
- Quit RStudio. You’re done setting up!
Optional: For a refresher on RStudio features, watch this video. It also shows you how to customize the layout and color scheme of RStudio.