1 - Install Base-R and RStudio on your computer.

Use these links to install the latest versions of R and RStudio.

Install Base-R: Windows, Mac
Install RStudio: Windows, Mac

2 - Install additional packages

This workshop introduces you to several specialized R packages that you will have to install. Please run the following command in your R Console of RStudio:

install.packages(c("tidyverse", "patchwork", "ggthemes", "ggrepel", "viridis", "sf", "ggraph", "tidygraph", "gganimate", "plotly", "rmarkdown", "knitr"), dependencies = TRUE)

When you are asked whether to install packages from source, type in "n" and press Enter.

3 - Optional Install additional software

In case the installation of packages failed (or you wish to install packages from source), install the this Software and rerun the install command above:

Windows: RTools
Mac: Command line tools (no direct link available)



Back