Please ensure that you have the latest version of R installed on your laptop. This is important because some R packages used during the course may not install correctly if R is not up to date.
macOS users
Install R by downloading and running this .pkg file from CRAN.
Windows users
Install R by downloading and running this .exe file from CRAN.
Please also install RStudio Desktop. RStudio is a free and open-source integrated development environment (IDE) for R.
Testing whether the installation was successful
Copy and paste the R code below into RStudio’s console pane. Then hit Enter to run it.
install.packages("tidyverse")
library(ggplot2)
ggplot(mtcars, aes(mpg, wt)) +
geom_point()
If the plot below appears in the output pane of RStudio the installation was successful.
## Registered S3 methods overwritten by 'ggplot2':
## method from
## [.quosures rlang
## c.quosures rlang
## print.quosures rlang
© 2018 Réka Solymosi, Henry Partridge and Sam Langton. Some rights reserved.