Module 01 of 10

Introduction & Setup

Lessons

About This Module

Before you can analyze a single dataset, you need a working environment. R is the language that does the computing, and RStudio is the editor that makes it comfortable to use — a console for quick experiments, a script editor for work you want to keep, and panes for your data, files, plots, and help pages. Getting these set up properly is the first step to every other module in this course.

This module walks through installing R and RStudio, then takes a tour of the RStudio interface and how to run your first code. You'll see how to organize your work with RStudio projects and why they keep your files and working directory tidy, and finish with a first look at creating and knitting an R Markdown document.

Watch the lessons in order, then continue on to Language Fundamentals.

Lessons

4 videos
01

Installing R and RStudio

A step-by-step walkthrough of downloading and installing R first, then RStudio Desktop, so you have a complete and free working environment.

02

First Steps in R: Getting Started with RStudio

A beginner-friendly introduction to the RStudio interface — the panes you'll use every day and how to start running R code.

03

R Projects and Files in a Project

How RStudio projects and the working directory help you keep scripts, data, and outputs organized in one place for each analysis.

04

Getting Started With RStudio

Sam Dumble shows how to get started with RStudio by walking through some of its features, including creating an R Markdown file and using the knit function.