This course combines video, HTML and interactive components to teach the statistical programming language R.

Getting Started

To start this course, you'll need to

How To Take This Course

This course is divided into four lessons, each of which is divided into 4-8 segments. We combine a few types of material:

You do not necessarily need to take all four lessons in the suggested order. If you have taken a course on R before, and feel comfortable with concepts such as vectors, data frames, lists, and matrices, you may be able to skip some or all of Lesson 1. If you aren't familiar with the ggplot2 package, you'll need to take Lesson 2 before Lessons 3 and 4, which both assume you're comfortable with it.

About Us

Lessons 2-4, along with the site and quizzes, were developed by David Robinson, a PhD student in Quantitative and Computational Biology at Princeton. Lesson 1's videos were written and recorded by Neo Christopher Chung. Videos were filmed and edited by the Princeton Broadcast Center in conjunction with the McGraw Center for Teaching and Learning.


Video content within the course is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. All other content, including code and quizzes, is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Lesson 4 relies on the Lahman Baseball Database, which is copyright by Sean Lahman and licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

The code for the site itself (found here) is released under the MIT License. It was originally modeled on Jeffrey Leek's home page.