# R Resources Books

> R learning books and references. Use for finding R programming books and documentation.

- Skill: `leolin990405/r-resources-books` (Agent Skill)
- Install (CLI): `npx get-skill add leolin990405/r-resources-books`
- Raw SKILL.md: https://api.skillmd.com/api/skills/leolin990405/r-resources-books/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: LeoLin990405 (https://skillmd.com/u/leolin990405)
- Updated: 2026-11-14
- Page: https://skillmd.com/skills/leolin990405/r-resources-books

---


# 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

