Day 1 Installation & swirl
The goal for this day is to install and setup RStudio and to verify your installation is working correctly.
Total video length: 17 min.
Exercise length: 30–90 min.
In order for you not to get stuck on errors, it is vital that RStudio is installed correctly. I recommend a clean install even if you already have the software.
1.1 Installation Guide
Watch the video below and install RStudio:
Note: TinyTeX is not required for this course. All you need is a working version of RStudio, and to be able to knit to HTML.
1.2 What is RStudio?
Watch the video below and change the options as suggested (e.g. disable inline output):
1.3 Exercises
If you are following the live version of the course, make sure you address installation issues today. From day 2 onward, you are expected to have a working version of RStudio. You can ask any of the assistants or teachers for help.
Once you have RStudio installed, start with swirl
:
- Install
swirl
as explained in the video below (last part); - Choose the R Programming course;
- Complete chapters 1, 2, 4, 7 & 8. Each take about 5–15 minutes.
If you have time left and want to prepare for the rest of the course, please try running the following in the console (copy it, paste it in the console and press enter):
install.packages("COVID19")
install.packages("ggplot2")
install.packages("rgeos")
install.packages("rnaturalearth")
install.packages("rnaturalearthdata")
install.packages("sf")
These packages will be used during the rest of the course. If you have installation problems, we can address them early on.