Install R and the packages you need
You have used R before. Check that your installation is recent and has the packages below.
1. R and an editor
Install a recent R (4.3 or newer) and RStudio Desktop, or another editor you like.
2. Packages
install.packages("tidyverse") # dplyr, ggplot2, readr, stringr, tidyr, purrrThat is all the core material needs. Any data an exercise uses can be downloaded from that exercise’s page.
3. Check it works
library(tidyverse)
crosses <- sample(c("A", "a"), 1000, replace = TRUE)
table(crosses)If that prints two counts close to 500 without an error, you are ready.