Set Up

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

Welcome

This is a demo tutorial. Compare it to the source code that made it.

Outline

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.

Is this tutorial for you?

Do you need to work through the tutorial? Take the quiz below to find out.

Install R

How to install R

Test your knowledge

Quiz - Install R

Install RStudio

How to install RStudio

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!

Test your knowledge

Quiz - Install RStudio

Install Packages

How to install R packages

Test your knowledge

Quiz - Working with Packages