Dear all,
Chances are that you aim to prepare yourself for an R
course. These exercises will help you to master the basic scripting skills required for a succesfull programming career in R
. The exercises usually prepare you well for any introductory course into R
.
If you run into trouble, please drop me a line.
All the best,
You will need a laptop or desktop computer with full write access and administrator rights to the machine. We will explore programming and compiling in these exercises. This means that you need full access to your machine. Some corporate laptops (including Dutch university laptops) come with limited access for their users. I therefore advice you to bring a personal laptop computer, if you have one.
R
R
can be obtained here. We won’t use R
directly in the course, but rather call R
through RStudio
. Therefore it needs to be installed.
RStudio
DesktopRstudio is an Integrated Development Environment (IDE). It can be obtained as stand-alone software here. The free and open source RStudio Desktop
version is sufficient.
Execute the following lines of code in the console window:
install.packages(c("ggplot2", "tidyverse", "magrittr", "micemd", "jomo", "pan",
"lme4", "knitr", "rmarkdown", "plotly", "ggplot2", "shiny",
"devtools", "boot", "class", "car", "MASS", "ggplot2movies",
"ISLR", "DAAG", "mice", "mitml", "miceadds"),
dependencies = TRUE)
If you are not sure where to execute code, use the following figure to identify the console:
Just copy and paste the installation command and press the return key. When asked
type Yes
in the console and press the return key.
If all fails and you have insufficient rights to your machine, the following web-based service will offer a solution.
RStudio
environment there.Naturally, you will need internet access for these services to be accessed.
R
exercisesThe introductory R
exercise is threefold. We need to cover a lot of ground in these exercises to get you started with R
.
R
and RStudio
.The below videodiscussions for the practical exercises explain the train of thought in the above exercise documents.
Please do not hesitate to contact me, if you have questions.
All the best,