Introduction to R
Write your first R code: values, vectors, data frames and functions.
Interactive courses with instant feedback. Free to start, no installs.
sales <- c(120, 95, 143, 110)
mean(sales)
[1] 117
max(sales) - min(sales)
[1] 48Real R, written and run in the lesson. No setup, nothing to download.
Each idea comes with a small, real dataset, explained in plain words.
Type code into the lesson and run it. There is nothing to install.
Find out straight away whether your answer is right, and what to fix if it isn't.
We're rebuilding our courses and learning platform from scratch, so you can learn R in your browser with instant feedback. The first three free courses open in December 2026.
Write your first R code: values, vectors, data frames and functions.
Filter, sort, summarise and join data with the dplyr verbs and the pipe.
Build clear charts layer by layer with ggplot2.
The courses are built from our free eBooks, so you can read ahead or look back at any time.
Our open-source R packages have been downloaded more than 2.8 million times.
Source: downloads from the Posit CRAN mirror (cranlogs), October 2026. Other mirrors are not counted.
Read, watch and practise at your own pace.
A longer path after the Foundations, built around one realistic business dataset, with SQL and customer analytics.
Hear when the free courses open in December 2026. We email about once a month.