Editor's top R books
3R for Data Science, 2nd Edition
Hadley Wickham, Mine Çetinkaya-Rundel, Garrett Grolemund0
The essential introduction to the tidyverse and modern R data science practice. Freely available online. Written by the author of the tidyverse himself. Covers data import, transformation, visualisation, modelling, and communication in a coherent workflow. The second edition adds Quarto and updated tidymodels coverage.
Advanced R, 2nd Edition
Hadley Wickham · 604 pages · ~15 hrs to read
Explains how R actually works — environments, scoping, functional programming, metaprogramming, and performance. Freely available online. Reading this transforms you from someone who uses R into someone who understands R. Essential for writing packages or debugging complex R programs.
An Introduction to Statistical Learning: with Applications in R
James, Witten, Hastie, Tibshirani · Springer · 616 pages · ~15 hrs to read
The standard bridge from R proficiency into applied machine learning — regression, classification, resampling, and tree methods worked through with real R code and datasets, not just proofs. Referenced in nearly every ML syllabus that uses R.
R Books for Beginners
3R for Data Science, 2nd Edition
Hadley Wickham, Mine Çetinkaya-Rundel, Garrett Grolemund0
The essential introduction to the tidyverse and modern R data science practice. Freely available online. Written by the author of the tidyverse himself. Covers data import, transformation, visualisation, modelling, and communication in a coherent workflow. The second edition adds Quarto and updated tidymodels coverage.
Statistical Inference via Data Science (ModernDive)
Chester Ismay & Albert Kim · 390 pages · ~10 hrs to read
A statistics textbook that teaches through R and the tidyverse. Bridges the gap between "how to use R" and "why statistics works." Designed for undergraduates but widely used by professionals learning statistics alongside R.
R for Everyone: Advanced Analytics and Graphics
Jared Lander · Addison-Wesley · 1456 pages · ~36 hrs to read
A more example-driven alternative to R4DS that keeps base R alongside the tidyverse and adds modeling chapters — lm, glm, boosting — that R4DS skips entirely. A solid second book for readers who want applied statistics coverage sooner.
Intermediate & Advanced R Books
7Advanced R, 2nd Edition
Hadley Wickham · 604 pages · ~15 hrs to read
Explains how R actually works — environments, scoping, functional programming, metaprogramming, and performance. Freely available online. Reading this transforms you from someone who uses R into someone who understands R. Essential for writing packages or debugging complex R programs.
The Art of R Programming: A Tour of Statistical Software Design
Norman Matloff · No Starch Press · 404 pages · ~10 hrs to read
Treats R as a real programming language, not just a stats calculator — closures, functional and OO idioms, and how to stop writing R as if it were Python. Written by a UC Davis CS professor; the debugging and performance chapters are still the clearest treatment available.
R Packages: Organize, Test, Document, and Share Your Code
Hadley Wickham & Jennifer Bryan · O'Reilly · 355 pages · ~9 hrs to read
The canonical guide to building, testing, and documenting R packages with devtools, usethis, and testthat. Necessary the moment you move from personal scripts to code other people install — the update folds in a decade of tidyverse package-development practice.
R Cookbook: Proven Recipes for Data Analysis, Statistics, and Graphics
JD Long & Paul Teetor · O'Reilly · 625 pages · ~16 hrs to read
Recipe format for the specific problem in front of you right now — reshaping a data frame, formatting dates, fitting a quick model. The book you keep open in a second tab, not one you read cover to cover.
An Introduction to Statistical Learning: with Applications in R
James, Witten, Hastie, Tibshirani · Springer · 616 pages · ~15 hrs to read
The standard bridge from R proficiency into applied machine learning — regression, classification, resampling, and tree methods worked through with real R code and datasets, not just proofs. Referenced in nearly every ML syllabus that uses R.
Efficient R Programming: A Practical Guide to Smarter Programming
Colin Gillespie & Robin Lovelace · O'Reilly · 242 pages · ~6 hrs to read
Performance guidance for R users whose analysis scripts have started to crawl — profiling, vectorization, Rcpp, and package selection. Less about statistics, more about writing R that survives contact with a production data pipeline.
Mastering Shiny: Build Interactive Apps, Reports, and Dashboards Powered by R
Hadley Wickham · O'Reilly · 450 pages · ~11 hrs to read
The definitive guide to Shiny's reactive programming model, module-based code organization, and testing strategy for apps that outgrow a single script. Written by the person who built Shiny.
R resources