Ready, set, go!

On R-exercises, you will find hundreds of exercises that will help you to learn R. We’ve bundled them into exercise sets, where each set covers a specific concept or function. An exercise set typically contains about 10 exercises, progressing from easy to somewhat more difficult. In order to give you a full picture of all the amazing content on this website, we’ve categorized all sets into broader topics below.

If you’re completely new to R, we suggest you simply start with the first topic, “Vectors”. Once you’ve managed to work through all exercise sets, from top to bottom, you should have a fair amount of knowledge of, and practical experience with, using R. Of course, those of you who are familiar with R already, can jump straight to any of the topics below.

New exercise sets are added on a daily basis. Subscribe to R-exercises to receive daily updates by email.

Note: For future updates to the overview below, please have a look here.

Have fun!

Exercise sets by Topic

Vectors

Object modes and attributes

Factors

Arrays and matrices

Lists and dataframes

Importing data

Tables

Data manipulation

Dates/times

Probability distributions

Loops and conditional execution

Functions

Data visualization

Contributed packages