ABSTRACT

R Markdown: The Definitive Guide is the first official book authored by the core R Markdown developers that provides a comprehensive and accurate reference to the R Markdown ecosystem. With R Markdown, you can easily create reproducible data analysis reports, presentations, dashboards, interactive applications, books, dissertations, websites, and journal articles, while enjoying the simplicity of Markdown and the great power of R and other languages.

In this book, you will learn

  • Basics: Syntax of Markdown and R code chunks, how to generate figures and tables, and how to use other computing languages
  • Built-in output formats of R Markdown: PDF/HTML/Word/RTF/Markdown documents and ioslides/Slidy/Beamer/PowerPoint presentations
  • Extensions and applications: Dashboards, Tufte handouts, xaringan/reveal.js presentations, websites, books, journal articles, and interactive tutorials
  • Advanced topics: Parameterized reports, HTML widgets, document templates, custom output formats, and Shiny documents.

Yihui Xie is a software engineer at RStudio. He has authored and co-authored several R packages, including knitr, rmarkdown, bookdown, blogdown, shiny, xaringan, and animation. He has published three other books, Dynamic Documents with R and knitr, bookdown: Authoring Books and Technical Documents with R Markdown, and blogdown: Creating Websites with R Markdown.

J.J. Allaire is the founder of RStudio and the creator of the RStudio IDE. He is an author of several packages in the R Markdown ecosystem including rmarkdown, flexdashboard, learnr, and radix.

Garrett Grolemund is the co-author of R for Data Science and author of Hands-On Programming with R. He wrote the lubridate R package and works for RStudio as an advocate who trains engineers to do data science with R and the Tidyverse.

part I|45 pages

Get Started

chapter 1|2 pages

Installation

chapter 2|41 pages

Basics

part II|67 pages

Output Formats

chapter 3|43 pages

Documents

chapter 4|21 pages

Presentations

part III|122 pages

Extensions

chapter 5|19 pages

Dashboards

chapter 6|10 pages

Tufte Handouts

chapter 7|17 pages

xaringan Presentations

chapter 8|9 pages

reveal.js Presentations

chapter 9|6 pages

Community Formats

chapter 10|19 pages

Websites

chapter 11|4 pages

HTML Documentation for R Packages

chapter 12|13 pages

Books

chapter 13|7 pages

Journals

chapter 14|10 pages

Interactive Tutorials

part IV|62 pages

Other Topics

chapter 15|7 pages

Parameterized reports

chapter 16|26 pages

HTML Widgets

chapter 17|6 pages

Document Templates

chapter 18|4 pages

Creating New Formats

chapter 19|16 pages

Shiny Documents