Prework - R and RStudio
Before you arrive at RMBL.
Tutorial on setting up R and Rstudio.
Overview
This is a tutorial on how to install the R language and RStudio development environment. It was modified from here.
The tutorial will help you set up your computer to use R. It is for you if you need to learn how to:
- Install R on your computer
- Install the RStudio IDE
- Install packages, using the
dplyr
R package as an example.
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.
::: {.webex-check .webex-box} I have installed R on my computer I have installed the RStudio IDE I have installed the dplyr R package
If you have done all of these things, you can skip this tutorial and go to the next one! :::
Install R
How to install R
Follow the video instructions here
Test your knowledge
::: {.webex-check .webex-box} Is R free to download and use?
Where do you download R?
How often should you update 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!
Follow the video instructions here
Test your knowledge
::: {.webex-check .webex-box} What is the RStudio IDE?
Is the RStudio IDE free to download and use?
Where do you download RStudio?
Do you need to install R if you already have RStudio? :::
Install Packages
How to install R packages
Follow the video instructions here
Test your knowledge
::: {.webex-check .webex-box} What command do you use to install packages?
How often do you need to install a package on your computer?
What command do you use to load a package into your R session? :::