This book grew out of my evergrowing collection of reference materials that was saved as an expanding array of markdown files in a github repo. By assembling it as a book, I hope that it will be more accessible and useful to other R users.


The author would like to acknowledge everyone who has contributed to the books, articles, blog posts, and R packages cited within.

Some important details


Creative Commons License
This work by Martin Monkman is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Canada License.

Source code

The source code for this ebook can be found at this github repository:

Cover image

For the cover, I wanted to use a photo of the Main Hall of the old Cincinnati Library, which one can find all over the internet. But going to the source, I see that it’s not offered by the Public Library of Cincinnati under an open license. But you can follow this link and see it there.

This book is written in Markdown, using the bookdown package, and published to the web at

# or the development version
# devtools::install_github("rstudio/bookdown")