One R Markdown Document, Fourteen Demos - Yihui Xie

February 4, 2020 Yihui Xie

R Markdown is a document format based on the R language and Markdown to intermingle computing with narratives in the same document. With this simple format, you can actually do a lot of things. For example, you can generate reports dynamically (no need to cut-and-paste any results because all results can be dynamically generated from R), write papers and books, create websites, and make presentations. In this talk, I'll use a single R Markdown document to give demos of the R packages rmarkdown,

  • bookdown for authoring books (,
  • blogdown for creating websites (,
  • rticles for writing journal papers (,
  • xaringan for making slides (,
  • flexdashboard for generating dashboards (,
  • learnr for tutorials (,
  • rolldown for storytelling (,

And the integration between Shiny and R Markdown. To make the best use of your time during the presentation, I recommend you to take a look at the rmarkdown website in advance:


Materials: blog post, R-script

About the Author

Yihui Xie

Yihui Xie is a software engineer at RStudio. He earned his PhD from the Department of Statistics, Iowa State University. He is interested in interactive statistical graphics and statistical computing. As an active R user, he has authored several R packages, such as knitr, bookdown, blogdown, xaringan, tinytex, rolldown, animation, DT, tufte, formatR, fun, xfun, mime, highr, servr, and Rd2roxygen. He also co-authored a few other R packages, including shiny, rmarkdown, rticles, and leaflet. He has authored two books, "Dynamic Documents with knitr" (Xie 2015), and "bookdown: Authoring Books and Technical Documents with R Markdown" (Xie 2016), and co-authored two books, "blogdown: Creating Websites with R Markdown" (Xie, Hill, and Thomas 2017), and "R Markdown: The Definitive Guide" (Xie, Allaire, and Grolemund 2018).

Follow on Twitter Follow on Linkedin More Content by Yihui Xie
Previous Video
Technical Debt is a Social Problem - Gordon Shotwell
Technical Debt is a Social Problem - Gordon Shotwell

Technical debt is a big problem for the R community. Even though R has excellent support for testing, docum...

Next Video
Branding and Packaging Reports with R Markdown - Jake Thompson
Branding and Packaging Reports with R Markdown - Jake Thompson

The creation of research reports and manuscripts is a critical aspect of the work conducted by organization...