⚠️ Important The bookdown.org hosting service is being decommissioned.
See the announcement blog post →

BOOKDOWN

Write HTML, PDF, ePub, and Kindle books with R Markdown

The bookdown logo

The bookdown package is an open-source R package that facilitates writing books and long-form articles/reports with R Markdown. Features include:

Below is a list of featured books. For a full list, please see the archive page. For the full documentation of the bookdown package, please see the free online book bookdown: Authoring Books and Technical Documents with R Markdown.

R Graphics Cookbook, 2nd edition

by Winston Chang

2026-01-07 Star
R Graphics Cookbook, 2nd edition

This cookbook contains more than 150 recipes to help scientists, engineers, programmers, and data analysts generate high-quality graphs quickly—without having to comb through all the details of R’s graphing systems. Each recipe tackles a specific problem with a solution you can apply to your own project and includes a discussion of how and why the recipe works. […] Welcome to the R Graphics Cookbook, a practical guide that provides more than 150 recipes to help you generate high-quality graphs quickly, without having to comb through all the details of R’s graphing systems. Each recipe … Read more →

1

R Markdown Cookbook

by Yihui Xie, Christophe Dervieux, Emily Riederer

2025-12-02 Star
R Markdown Cookbook

This book showcases short, practical examples of lesser-known tips and tricks to helps users get the most out of these tools. After reading this book, you will understand how R Markdown documents are transformed from plain text and how you may customize nearly every step of this processing. For example, you will learn how to dynamically create content from R code, reference code in other documents or chunks, control the formatting with customer templates, fine-tune how your code is processed, and incorporate multiple languages into your analysis. Read more →

2

blogdown: Creating Websites with R Markdown

by Yihui Xie, Amber Thomas, Alison Presmanes Hill

2025-12-02 Star
blogdown: Creating Websites with R Markdown

A guide to creating websites with R Markdown and the R package blogdown. […] A note from the authors: Some of the information and instructions in this book are now out of date because of changes to Hugo and the blogdown package. If you have suggestions for improving this book, please file an issue in our GitHub repository. Thanks for your patience while we work to update the book, and please stay tuned for the revised version! In the meantime, you can find an introduction to the changes and new features in the v1.0 release blog post and this “Up & running with blogdown in 2021” blog post. … Read more →

3

bookdown: Authoring Books and Technical Documents with R Markdown

by Yihui Xie

2025-09-23 Star
bookdown: Authoring Books and Technical Documents with R Markdown

A guide to authoring books with R Markdown, including how to generate figures and tables, and insert cross-references, citations, HTML widgets, and Shiny apps in R Markdown. The book can be exported to HTML, PDF, and e-books (e.g. EPUB). The book style is customizable. You can easily write and preview the book in RStudio IDE or other editors, and host the book wherever you want (e.g. bookdown.org). Read more →

4

Statistical Inference via Data Science

by Chester Ismay and Albert Y. Kim

2025-09-16 Star
Statistical Inference via Data Science

An open-source and fully-reproducible electronic textbook for teaching statistical inference using tidyverse data science tools. […] This is the website for Statistical Inference via Data Science: A ModernDive into R and the Tidyverse! Visit the GitHub repository for this site and find the book on Amazon. You can also purchase it at CRC Press using discount code ADC25. This work by Chester Ismay and Albert Y. Kim is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International … Read more →

5

Geocomputation with R

by Robin Lovelace, Jakub Nowosad, Jannes Muenchow

2025-08-28 Star
Geocomputation with R

Welcome | Geocomputation with R is for people who want to analyze, visualize and model geographic data with open source software. It is based on R, a statistical programming language that has powerful data processing, visualization, and geospatial capabilities. The book equips you with the knowledge and skills to tackle a wide range of issues manifested in geographic data, including those with scientific, societal, and environmental implications. This book will interest people from many backgrounds, especially Geographic Information Systems (GIS) users interested in applying their domain-specific knowledge in a powerful open source language for data science, and R users interested in extending their skills to handle spatial data.