Awesome Open Source
Awesome Open Source

Build Status Lifecycle: stable

Exercise Solutions to R for Data Science

This repository contains the code and text behind the Solutions for R for Data Science, which, as its name suggests, has solutions to the the exercises in R for Data Science by Garrett Grolemund and Hadley Wickham.

The R packages used in this book can be installed via



Contributions welcome! Notice a wrong answer, typo, bug, or have an alternative/better solution, open a new issue or pull request.

Please note that the 'R4DSSolutions' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.


The site is built using the bookdown package and pandoc.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
r (2,248
data-science (846
ggplot2 (77
rmarkdown (54
tidyverse (35
dplyr (21
bookdown (17

Find Open Source By Browsing 7,000 Topics Across 59 Categories