Interactive Course

Working with the RStudio IDE (Part 1)

Learn the basics of the important features of the RStudio IDE.

  • 3 hours
  • 24 Videos
  • 69 Exercises
  • 26,099 Participants
  • 3,450 XP

Loved by learners at thousands of top companies:

airbnb-grey.svg
uber-grey.svg
deloitte-grey.svg
dell-grey.svg
ea-grey.svg
rei-grey.svg

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.

  1. 1

    Orientation

    Free

    This chapter shows you around the most important parts of the RStudio IDE. You'll learn about the data viewer, the environment tab, the history tab, how to set and get your working directory, using the plots pane, navigating the help tab when you get stuck, and more.

  2. Projects

    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.

  1. 1

    Orientation

    Free

    This chapter shows you around the most important parts of the RStudio IDE. You'll learn about the data viewer, the environment tab, the history tab, how to set and get your working directory, using the plots pane, navigating the help tab when you get stuck, and more.

  2. Programming

    This chapter builds on the last by showing you how to take advantage of the IDE for a more efficient and enjoyable R programming experience. For example, you'll see how RStudio's built-in code and style diagnostics can flag things before they go terribly wrong. You'll learn tricks for using multiple cursors at once, collapsing code for better visibility, and using RStudio's handy tools for debugging your code.

  3. Projects

    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.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Team RStudio
Team RStudio

Instructor

Collaborators
  • Nick Carchedi

    Nick Carchedi

Prerequisites
Icon Icon Icon professional info