Chapter 1 Setting up

This tutorial will help you set up your computer to use R. It is for you if you need to:

  • Install R on your computer
  • Install the RStudio IDE
  • Install the tidyverse R package

You can skip this tutorial if you’ve already done these things.

1.1 R

Learn how to set up R and RStudio on your machine. I will also demonstrate how to install R packages from CRAN, and install the tidyverse package.

1.2 RStudio

1.2.1 The RStudio IDE

You can use only R, but using RStudio can save you a lot of headache and a lot of time! Best analogy ever:

RStudio is an Integrated Development Environment for R. What does that mean? Well, if you think of R as a language, which it is, you can think of RStudio as a program that helps you write and work in the language. RStudio makes programming in R much easier and I suggest that you use it!

1.2.2 Install packages

1.2.3 RStudio Projects

Click to start the Shiny application.

1.3 GitHub

1.4 Communication platform

Options: Slack (recommended for longer term teaching, like courses), gitter (recommended for workshops)