R Programming Roadmap 2026
R for data analysis: syntax, data frames, tidyverse, visualisation with ggplot2, statistics and reporting.
4 stages · 7 units · Beginner · about 70 hours · Last reviewed 19 November 2026
What is a r programming?
R is a programming language and environment built for statistics, data analysis and visualisation. Analysts use it to clean data in data frames, fit statistical models, draw charts with ggplot2 and publish reports with Quarto. It is common in research, healthcare, finance and academia, and has a large package ecosystem on CRAN.
Step-by-step r programming roadmap
- 1
R Basics
Beginner · about 19 hours
Language and data.
- Language
The R language unit covers the syntax and data structures every script relies on. R works with vectors as its basic type, plus lists, factors and data frames, and most operations are vectorised so they apply to whole columns at once. Understanding types, indexing and functions here makes later tidyverse code readable.
- Environment
The R environment is the set of tools used to write and run R code day to day. It includes R itself, the RStudio or Positron editor, the console, scripts, the package manager with install.packages() and library(), and R Projects that fix a working directory. Good habits here prevent path and package problems later.
- Language
- 2
Tidyverse
Beginner · about 19 hours
Wrangle data.
- Data Wrangling
Data wrangling in R is the work of cleaning and reshaping data into a tidy form, mainly with dplyr and tidyr from the tidyverse. Verbs such as filter, select, mutate, group_by and summarise handle rows and columns, while packages like stringr, lubridate and forcats help with text, dates and categories.
- Programming
Programming in the tidyverse sense means writing reusable code that repeats work without copy and paste. In R this uses functions, conditionals and iteration through for loops and the purrr family such as map(). The aim is to apply the same step to many files, columns or groups in a clear way.
- Data Wrangling
- 3
Visualisation and Statistics
Beginner · about 19 hours
Understand data.
- Graphics
Graphics in R centres on ggplot2, which builds charts from layers using the grammar of graphics. You map data columns to aesthetics such as x, y, colour and size, add geoms like points, lines and bars, and refine scales, facets and themes. The same grammar covers scatter plots, histograms and boxplots.
- Statistics
Statistics in R is the use of built-in and package functions to describe data, test claims and fit models. It spans summary measures, t.test() and chisq.test(), correlation, and linear and logistic regression with lm() and glm(). Output includes estimates, p-values and confidence intervals that must be interpreted, not just printed.
- Graphics
- 4
Reporting
Intermediate
Communicate.
- Reproducible Work
Reproducible work in R means analysis that someone else can rerun and get the same results. Quarto documents combine code, output and narrative into reports, Shiny builds interactive web apps from R, and habits like Projects, renv for package versions and clear folder layout keep the whole analysis portable and reviewable.
- Reproducible Work
Frequently asked questions
Ready to practise for interviews?
Practise r programming questions with an AI mock interviewer and get feedback on your answers.