R Books
Essential R programming books.
Free Online Books
Beginner
- R for Data Science (2e) - https://r4ds.hadley.nz/
- Tidyverse workflow, data wrangling, visualization
- Hands-On Programming with R - https://rstudio-education.github.io/hopr/
- R basics, functions, objects
Intermediate
- Advanced R (2e) - https://adv-r.hadley.nz/
- Functional programming, OOP, metaprogramming
- R Packages (2e) - https://r-pkgs.org/
- Package development with devtools
Visualization
- ggplot2: Elegant Graphics - https://ggplot2-book.org/
- Grammar of graphics, customization
- R Graphics Cookbook (2e) - https://r-graphics.org/
- Practical recipes for plots
Statistics
- Statistical Inference via Data Science - https://moderndive.com/
- Modern approach to stats with tidyverse
- Introduction to Statistical Learning - https://www.statlearning.com/
- Machine learning fundamentals
Specialized
- Geocomputation with R - https://r.geocompx.org/
- Spatial data analysis
- Text Mining with R - https://www.tidytextmining.com/
- NLP with tidytext
- Mastering Shiny - https://mastering-shiny.org/
- Interactive web apps
- Efficient R Programming - https://csgillespie.github.io/efficientR/
- Performance optimization
Reference Cards
- RStudio Cheatsheets - https://posit.co/resources/cheatsheets/
- dplyr, ggplot2, tidyr, purrr, stringr, etc.
- Base R Cheatsheet - https://iqss.github.io/dss-workshops/R/Rintro/base-r-cheat-sheet.pdf