1: Introduction & Setup
Content for Monday, March 30, 2026
Before class
📖 Readings:
✅ Setup tasks:
- Follow the Installing R & RStudio guide to install R, RStudio, and the required packages
During class
We’ll cover:
- Why data science for psychology?
- R vs RStudio: What’s the difference?
- The RStudio interface
- Creating projects and scripts
- Installing packages
- Class structure and expectation
Slides
View slides in new tab Download PDFEmbedded slides
After class
✅ Complete these tasks:
- Make sure R and RStudio are installed and working
- Create a new RStudio Project called “psy410”
- Install the tidyverse package:
install.packages("tidyverse") - Run
library(tidyverse)and make sure it loads without errors - Try
glimpse(mpg)to see your first dataset!
TipGetting help
If you run into installation issues, check out R4DS Chapter 8: Workflow: getting help or post in our class discussion forum.