Learn R by doing - interactive, practical, powerful.
RMastery is a powerful interactive R learning platform built as an R package. It helps you learn R step-by-step using hands-on tutorials, exercises, and instant feedback.
Features
- Interactive Tutorials – Learn concepts with guided lessons
- Hands-on Exercises – Practice as you learn
- Instant Feedback – Get real-time grading with explanations
- Structured Curriculum – Beginner → Intermediate → Advanced
- Real-world Examples – Work with practical datasets
- Exams – Full Exams
Getting Started
Launch your first lesson:
library(RMastery)
# start your learning jouney
start_learning()
# browse available tutorials
list_tutorials()
# lauch a given lesson
load_tutorial(tutorial = "data")Course Structure
- Variables & Data Types
- Vectors
- Data Frames
Each lesson includes:
- Explanation
- Interactive coding
- Instant feedback
- Hints
Project Structure
RMastery/
├── R/
├── inst/
│ └── tutorials/
│ ├── data_structures/
│ ├── introduction/
│ └── machine_learning/
├── man/
├── DESCRIPTION
└── README.md
Goals
RMastery aims to:
- Make R learning interactive and practical
- Replace passive tutorials with hands-on experience
- Provide a complete learning path in one package
Contributing
Contributions are welcome!
You can:
- Add new lessons
- Improve exercises
- Fix bugs
- Suggest features
Steps:
- Fork the repo
- Create a branch
- Make changes
- Submit a pull request
Author
Built with Love by clinton-mwachia