1 - Install Base-R and RStudio on your laptops

Use the following links to install the latest versions of R und RStudio.

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

2 - Download & unpack project folder

Please download this R project, unpack its contents (a double-click typically suffices), and move the included folder to some suitable location on your local harddrive(e.g., Desktop).

Once you have unpacked and moved the project folder, you can start R Studio by double-clicking the SDGDataViz.Rproj file contained in the project folder.

Note that the 1_data folder is currently empty. Please add the hackathon data there as soon as we have made it available.

3 - Install necessary packages

For this workshop, we will rely on R packages that need to be installed. To do this, run the following code within your R Console within R Studio:

install.packages(c("tidyverse", "ggthemes", "lubridate", "systemfonts", "scico", "ggtext", "ggforce", "ggdist", "magick", "patchwork"))

To avoid problems during the installation of packages, please enter n for No, when you are asked to install a package from source.

4 - Optional: Install additional software

If you want to install packages from source (or if installation fails), install the following software for the necessary compilers and then run the installation command again.

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



Back