Solutions are provided for exercises from the second edition of Hadley Wickham’s R programming book.
R Packages
The second edition of R Packages teaches how to create packages for reusable and reproducible R code.

About R Packages
R Packages (2e) is the free online version of the second edition of the book 'R Packages' by Hadley Wickham and Jennifer Bryan. It teaches users how to create R packages, the fundamental units of shareable, reusable, and reproducible R code that include reusable R functions, usage documentation, and sample data. The resource guides users to turn their existing code into easily downloadable packages for others to use, starting with basic steps and supporting iterative improvement over time. A physical print copy of the book is available for purchase on Amazon.
Key features
- Teaches creation of shareable, reusable R code packages
- Guides iterative package development starting from basic steps
- Covers package components including R functions, documentation, and sample data
- Free online access under CC BY-NC-ND 4.0 license
- Physical print copy available for purchase on Amazon
- Free full online access to the complete second edition of the instructional book
- Authored by established R programming experts Hadley Wickham and Jennifer Bryan
- Available under a Creative Commons license for non-commercial free use
- Content is licensed for non-commercial use only, prohibiting commercial applications
- CC BY-NC-ND 4.0 license does not permit creation of derivative works from the content
- No interactive learning tools or coding sandbox are referenced in the provided material
R Packages at a glance
- Website
- r-pkgs.org
- Category
- Education & Learning › Learn to Code
- Type
- Website
- Pricing
- Not confirmed. Check the site
- Platforms
- Web
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
R Packages alternatives
Tools and sites you could use instead, ranked by how closely they match.
This bookdown site presents a second-edition book about programming and analysis with the R language.
30 Seconds of Code offers hundreds of short coding articles to help readers practice programming skills.
The first edition of R for Data Science teaches data import, transformation, visualization, and modeling with R.
Learn to Code HTML & CSS teaches front-end web development through written lessons.
Code.org, now CodeAI, provides free K–12 curriculum and tools for teaching digital fluency, computer science, and AI.
Popular in Learn to Code
Well-known listings from the same topic.
R Packages FAQ
Is the online version of R Packages (2e) free to access?
Can content from R Packages (2e) be used for commercial purposes?
Is a physical copy of the R Packages book available?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.









