R Programming · Lessons

R Programming lessons

12 sections · 95 skills · work through the full outline skill by skill — read the long-form lesson or flip through the slide-style version.
Long-form lessonsSlide-style lessons

R Programming

Practice 95 skills across this outline.

Recommended next
Working Directory & Paths
Getting Started and Tooling · R Environment and Project Setup
Long-form lesson
Weighting distribution
25 categories
Functions and Program Structure · Modularity and Scripting
8%
Algorithms and Complexity
8%
Debugging and Testing · Testing Basics
8%
Control Flow · Loops
8%
Input and Output
8%
Getting Started and Tooling · Version Control Basics
6%

Skills

The comprehensive taxonomy of r programming — drill into a card to work its skills.

Getting Started and Tooling · R Environment and Project Setup

5 core skills3% total weight
0/5 completed
5 skills to mastery
1
Working Directory & PathsRecommended
2
Installing & Loading PackagesAvailable
3
Running R CodeAvailable
4
R MarkdownAvailable
5
RStudio BasicsAvailable

Getting Started and Tooling · Version Control Basics

3 core skills6% total weight
0/3 completed
3 skills to mastery
1
Resolving Merge ConflictsAvailable
2
Using .gitignoreAvailable
3
Git CommitsAvailable

Functions and Program Structure · Defining and Calling Functions

5 core skills0% total weight
0/5 completed
5 skills to mastery
1
Function DocumentationAvailable
2
Default & Named ArgumentsAvailable
3
Scoping & EnvironmentsAvailable
4
Vectorized FunctionsAvailable
5
Defining FunctionsAvailable

Functions and Program Structure · Modularity and Scripting

4 core skills8% total weight
0/4 completed
4 skills to mastery
1
Package StructureAvailable
2
Code OrganizationAvailable
3
Avoiding Global StateAvailable
4
source()Available

Software Craft and Communication · Readability and Style

4 core skills4% total weight
0/4 completed
4 skills to mastery
1
Naming & FormattingAvailable
2
RefactoringAvailable
3
Readable PipelinesAvailable
4
Style ConventionsAvailable

Software Craft and Communication · Problem Decomposition and Explanation

3 core skills4% total weight
0/3 completed
3 skills to mastery
1
Communicating LimitationsAvailable
2
Explaining Analysis StepsAvailable
3
Stating AssumptionsAvailable

Algorithms and Complexity

3 core skills8% total weight
0/3 completed
3 skills to mastery
1
Vectorization PerformanceAvailable
2
apply-Family FunctionsAvailable
3
Performance PitfallsAvailable

Data Structures in R · Lists and Matrices

4 core skills0% total weight
0/4 completed
4 skills to mastery
1
apply/lapply/sapplyAvailable
2
Converting Data StructuresAvailable
3
MatricesAvailable
4
ListsAvailable

Data Structures in R · Data Frames and Tibbles

4 core skills3% total weight
0/4 completed
4 skills to mastery
1
Subsetting Data FramesAvailable
2
FactorsAvailable
3
TibblesAvailable
4
Data FramesAvailable

Data Structures in R · Vectors and Indexing

4 core skills5% total weight
0/4 completed
4 skills to mastery
1
Vector IndexingAvailable
2
Handling NA ValuesAvailable
3
which() & Logical SubsettingAvailable
4
Creating VectorsAvailable

Syntax and Core Types · Operators and Expressions

5 core skills5% total weight
0/5 completed
5 skills to mastery
1
Comparison & Logical OperatorsAvailable
2
%in% OperatorAvailable
3
Arithmetic Operators & PrecedenceAvailable
4
Vectorized vs. Short-Circuit OperatorsAvailable
5
ifelse()Available

Syntax and Core Types · Atomic Types and Coercion

4 core skills0% total weight
0/4 completed
4 skills to mastery
1
Type ConversionAvailable
2
NA, NaN & InfAvailable
3
Type CoercionAvailable
4
R Data TypesAvailable

Syntax and Core Types · Variables and Assignment

4 core skills4% total weight
0/4 completed
4 skills to mastery
1
Variable Assignment (<- vs. =)Available
2
Naming ConventionsAvailable
3
Immutability vs. ReassignmentAvailable
4
Vectorized OperationsAvailable

R-Specific Topics (Statistical Computing) · Simulation and Randomness

3 core skills3% total weight
0/3 completed
3 skills to mastery
1
set.seed() for ReproducibilityAvailable
2
Random SamplingAvailable
3
Simulation & VariabilityAvailable

R-Specific Topics (Statistical Computing) · Modeling and Formula Syntax

4 core skills5% total weight
0/4 completed
4 skills to mastery
1
Formula SyntaxAvailable
2
Logistic Regression (glm)Available
3
Linear Models (lm)Available
4
Extracting Model OutputsAvailable

R-Specific Topics (Data Workflows) · Data Manipulation with dplyr

5 core skills3% total weight
0/5 completed
5 skills to mastery
1
filter()Available
2
mutate() & RecodingAvailable
3
Joining Data FramesAvailable
4
select() & rename()Available
5
group_by() & summarize()Available

R-Specific Topics (Data Workflows) · Data Visualization with ggplot3

4 core skills3% total weight
0/4 completed
4 skills to mastery
1
Building ggplotsAvailable
2
Customizing ggplotAvailable
3
FacetingAvailable
4
Creating Common PlotsAvailable

R-Specific Topics (Data Workflows) · Reshaping with tidyr

3 core skills2% total weight
0/3 completed
3 skills to mastery
1
separate() & unite()Available
2
Handling Missing Values in ReshapingAvailable
3
pivot_longer() & pivot_wider()Available

Text and Dates · Strings and Text Processing

3 core skills5% total weight
0/3 completed
3 skills to mastery
1
Basic String FunctionsAvailable
2
Cleaning Text DataAvailable
3
Regular ExpressionsAvailable

Text and Dates · Dates and Times

3 core skills3% total weight
0/3 completed
3 skills to mastery
1
Parsing Dates & Time ZonesAvailable
2
lubridate FunctionsAvailable
3
Date/POSIXct ObjectsAvailable

Debugging and Testing · Debugging Workflow

4 core skills0% total weight
0/4 completed
4 skills to mastery
1
browser() & debug()Available
2
Errors, Warnings & MessagesAvailable
3
print() & str()Available
4
traceback()Available

Debugging and Testing · Testing Basics

3 core skills8% total weight
0/3 completed
3 skills to mastery
1
testthatAvailable
2
stopifnot() & AssertionsAvailable
3
Testing with Edge CasesAvailable

Control Flow · Conditionals

3 core skills0% total weight
0/3 completed
3 skills to mastery
1
If/Else & Else-If ChainsAvailable
2
switch()Available
3
Nested ConditionalsAvailable

Control Flow · Loops

4 core skills8% total weight
0/4 completed
4 skills to mastery
1
next & breakAvailable
2
While LoopsAvailable
3
For LoopsAvailable
4
Vectorization vs. LoopsAvailable

Input and Output

4 core skills8% total weight
0/4 completed
4 skills to mastery
1
RDS FilesAvailable
2
Writing CSV FilesAvailable
3
Reading Excel FilesAvailable
4
Reading CSV FilesAvailable