premium course

Working with the RStudio IDE (Part 1)

Start Course For Free
  • 24 Videos
  • 69 Exercises
  • 3 hours 
  • 4,770 Participants
  • 3450 XP


Garrett Grolemund
Garrett Grolemund

Garrett is the author of Hands-On Programming with R and R for Data Science from O'Reilly Media. He is a Data Scientist at RStudio and holds a Ph.D. in Statistics, but specializes in teaching. He's taught people how to use R at over 50 government agencies, small businesses, and multi-billion dollar global companies; and he's designed RStudio's training materials for R, Shiny, dplyr and more and is a frequent contributor to the RStudio blog. He wrote the popular lubridate package for R.


Nick Carchedi Nick Carchedi

Course Description

In the first part of this two-part RStudio tutorial, you will learn how to use RStudio, an IDE for R.

Chapter 1 will cover:

  1. how to install R Studio for Mac, Windows, or Linux
  2. how to run R code
  3. debugging in R

Chapter 2 will get into the features of the IDE geared toward making you a more effective R programmer, including code diagnostics and running scripts.

Finally, Part 1 finishes with a brief chapter on using RStudio projects for organizing and sharing your code with others.

In Part 2, you will learn how RStudio makes it easy to build your own R packages, integrate with GitHub, and use tools like R Markdown.


In this brief chapter, you'll see how to use RStudio projects to organize and share your code with others. Projects come with many benefits, including the ability to keep all relevant files in one place and to easily search all of these files with a single command. You'll also be exposed to the Packrat system for package management and reproducibility.