This new book written by the developers of R Markdown is an essential reference that will help users learn and make full use of the software.

Those new to R Markdown will appreciate the short, practical examples that address the most common issues users encounter. Frequent users will also benefit from the wide ranging tips and tricks that expose ‘hidden’ features, support customization and demonstrate the many new and varied applications of the software.

After reading this book users will learn how to:

  • Enhance your R Markdown content with diagrams, citations, and dynamically generated text
  • Streamline your workflow with child documents, code chunk references, and caching
  • Control the formatting and layout with Pandoc markdown syntax or by writing custom HTML and LaTeX templates
  • Utilize chunk options and hooks to fine-tune how your code is processed
  • Switch between different language engineers to seamlessly incorporate python, D3, and more into your analysis

chapter 1|5 pages


chapter 2|11 pages

Conceptual Overview

chapter 3|8 pages


chapter 4|32 pages

Document Elements

chapter 5|18 pages


chapter 6|19 pages

LaTeX Output

chapter 7|27 pages

HTML Output

chapter 8|8 pages


chapter 9|16 pages

Multiple Output Formats

chapter 10|25 pages


chapter 11|29 pages

Chunk Options

chapter 12|16 pages

Output Hooks (*)

chapter 13|11 pages

Chunk Hooks (*)

chapter 14|19 pages

Miscellaneous knitr Tricks

chapter 15|18 pages

Other Languages

chapter 16|19 pages

Managing Projects

chapter 17|11 pages