← Languages

R

Full course · 21 lessons

R is the definitive language for statistical computing, data analysis, and visualization. It powers academic research, data science, and machine learning workflows worldwide. These are the definitive free resources — vetted, current, and complete.

Knowledge Course
01

Getting Started with R

Console, scripts, RStudio, and the R execution model.

20 min→
02

Values and Types

Numeric, integer, character, logical — and special values.

25 min→
03

Variables and Scoping

Assignment, object names, environments, and existence checks.

25 min→
04

Arithmetic and Operators

Numeric, comparison, logical, and vectorized operators.

25 min→
05

Functions

Definitions, defaults, return values, and anonymous functions.

30 min→
06

Vectors and Indexing

Atomic vectors, naming, logical subsetting, and sequences.

30 min→
07

Control Flow

if/else, ifelse, for, and while loops.

25 min→
08

Strings and Text

paste, sprintf, string functions, and regular expressions.

25 min→
09

Lists, Matrices, and Data Frames

Heterogeneous containers and tabular data.

35 min→
10

Factors, Dates, and Attributes

Categorical variables, ordered factors, and time handling.

30 min→
11

The Apply Family

apply, lapply, sapply, tapply, and friends.

35 min→
12

Advanced Functions

Reuse, ... arguments, closures, and lexical scoping.

35 min→
13

The Tidyverse

dplyr, ggplot2, readr, and tidyr — the modern R.

30 min→
14

Data Visualization

Base R plots, histograms, boxplots, and saving output.

30 min→
15

Errors and Exceptions

stop, warning, tryCatch, and input validation.

30 min→
16

File I/O

Reading and writing CSV, text, and modern formats.

30 min→
17

Statistics and Sampling

Sampling, distributions, summaries, and hypothesis tests.

30 min→
18

Missing Data

NA propagation, na.rm, and imputation strategies.

25 min→
19

Grouping and Aggregation

table, aggregate, split, and group_by + summarize.

30 min→
20

Functional Programming and OOP

First-class functions, environments, S3 and S4 classes.

40 min→
21

Ecosystem and Next Steps

CRAN, R Markdown, Shiny, and the road ahead.

20 min→
Curated Resources
Systems & Tracks