# We R Preppers

25m Twenty-five minutes of preparations helps us to have a flying start and quickly get to the fun part: learning R. Make sure to finish these preparations a week before the start of the masterclass, as that should give us sufficient time to fix foreseen and unforeseen issues. You’ll need to install the required software, introduce yourself on our Q&A platform, and learn how to get the most out of this masterclass.

# Organization

## Materials

You’ll receive a document with the complete outline for the masterclass. It includes resources and exercises that you can use both during and after the masterclass. Besides the document, we’ll use three pieces of software.

• R. It’s the core software.
• RStudio. A terrific user interface for R.
• Piazza. You’ll use it for questions and answers. Anytime during or after the masterclass, you can use it to post your R questions. Piazza helps us to collaboratively answer them. Yes, that’s right, you can help your fellow students. Because the questions and answers are available to all of us, we can all learn from them, or help answer them. And guess what, answering questions helps you to develop mastery yourself.

## Activities

In the document that outlines the masterclass, different sections are color-coded. Those colors help you recognize different activities.

• Plenary activity. cam on / mic on We’re a class, so let’s make it feel like one. These are the moments we can look each other in the eyes and share the pain that optimists call learning.
• Instruction. cam off / mic off Instructions guide you in your R adventures, separating main issues from side issues, keeping you on the right track. Instructions come in two flavours; live instructions and self-guided instructions. Live instructions speak for themselves. You’ll learn the most from doing it yourself, so we’ll stick to the main themes and keep it short. Additionally, we’ve added lots of resources in the document. You’re invited to consult these resources whenever you feel like it. You may benefit from them during the exercises, or when you start exploring R on your own.
• Programming activity. cam off / mic off This is what it’s all about. You and R alone, and a little help from your fellow students and us. During the programming activities, break out rooms help you discuss the exercises in small groups. Wearing your speedpants today? See if you can help out the others by answering questions on Piazza.
• Break. cam on / mic on You’ll need one once a while. Have a (virtual) break with the others, go for a stroll, feed your hamster, whatever works for you.

## Mode

Offline masterclass

You wish. Corona age is here.

Online masterclass

In an online masterclass you’ll need Zoom. You’ll use it for the live instructions and for working together in break out rooms.

And yes, video conferencing drains energy for most of us, and it can’t be blamed on your fellow students. At least not all of it. We hope the different activities keep it fresh. Using a secondary screen for this masterclass and putting it off to the side can help, but we don’t all have that luxury. You may use the camera and microphone suggestions that are shown with the activities above.

# Try R and RStudio

Please install the required software, R and RStudio, as it takes up precious time, things can go wrong (more precious time), and some computers might have restrictions (even more precious time). Let us know immediately if you come across any issues, and we’ll make sure to fix it in time.

Ready? Follow these instructions to setup R and RStudio. For now, skip the last part (installing the tidyverse package).

Let’s see if everything works as expected. First, run the following code in the console panel of RStudio (the (lower) left panel):

print("OMG I FEEL LIKE A PROGRAMMER ALREADY")

Here, print() is a called a function. A function takes an input, does its magic, and gives some output. The print function simply prints the input to your screen. So far the magic. But learning already!

Then, install and load a package. This way we make sure you have the right permissions. Again, run the following code in your console:

install.packages("tidyverse")
library("tidyverse")

This may take a while, you’re basically downloading and installing additional software. Packages extend the basic functionality of R. That is, they provide lots of extra functions!

# Introduce yourself on Piazza

You should have received an invitation on your VU email address (it might not work with a different one). Check your spam if you cannot find the invitation, or let us know if it is nowhere to be found.

Now, sign up to Piazza and introduce yourself. On Piazza, you should find the post that says “Introduce yourself” and follow the instructions.

# Install Zoom

For online masterclasses only Most of you have been using Zoom more than you ever desired. Didn’t use it before? Let us know!

# Teaching philosophy

We like to end with our teaching philosophy. Our teaching philosophy in three words: practice, practice, practice, practice. Okay, that were four, but you get the idea.

In each masterclass, we aim to give you the right amount of contextual knowledge, important tools that help you start practicing and learning on your own, and some guidance along the way.

But there’s only one way to learn R. You must …, …, …, …!

And although practice makes perfect, it starts with failure. Lots of it. Learn to fail, make mistakes, fool around, try random stuff. What happens? Why?

Enjoy!