Chapter 30 RMarkdown

30.1 Introduction

This section provides links to resources for using the various packages that use R Markdown.

Why would you want to use R Markdown?

How can you use R Markdown?

30.2 R Markdown

Yihui Xie, Christophe Dervieux, Emily Riederer, R Markdown Cookbook, 2020-09-21

Yihui Xie, J. J. Allaire, Garrett Grolemund (2018) R Markdown: The Definitive Guide

R Markdown, main page at R Studio

Neil Collins, How to Create Reports In R Markdown, a series of blog posts

Yan Holtz, Pimp my RMD: a few tips for R Markdown (most recent update: 2018-12-10) – a nice summary of tips, tricks, and tweaks for your RMD files

Thea Knowles, Dissertating with RMarkdown and Bookdown – “A preliminary tutorial led by Thea Knowles for the R-Ladies #LdnOnt workshop series”

Pete Mohanty (2017-11-07) Automating Summary of Surveys with RMarkdown

Andrew MacDonald (2018-02-09) How I use Rmarkdown – three handy tips on how to use markdown.

Emily Riederer (2019-05-04) RMarkdown Driven Development (RmdDD)

Nick Strayer (2019-09-04) Building a data-driven CV with R

Nicholas Tierney (2019-07-02) RMarkdown for Scientists – “This is a book on rmarkdown, aimed for scientists. It was initially developed as a 3 hour workshop, but is now developed into a resource that will grow and change over time as a living book.”

30.2.2 YAML

Your RMarkdown documents are going to have a YAML at the top of the page.

The YAML Fieldguide


30.3 Packages

30.3.1 {blogdown}

Yihui Xie, Amber Thomas, Alison Presmanes Hill, [blogdown: Creating Websites with R Markdown](Yihui Xie and Hill 2019)

Summer of blogdown – series of blogposts with a step-by-step creation of a blog using blogdown

30.3.1.1 building a blog using {blogdown}

Esteban Moro, Setting up your blog with RStudio and blogdown

Malcolm Barrett, Move R Markdown HTML slides to Blogdown and Push to Web

Yin-Ting Chou (2018-05-06) Jekyll Website with Github, Github Pages and R Markdown

Alison Hill (2017-06-12) Up & Running with blogdown

Alison Hill, A Spoonful of Hugo series of blog posts:

30.3.3 {posterdown}

For academic conference-style posters.

github page

30.3.4 {redoc}

redoc - Reversible Reproducible Documents

  • “a package to enable a two-way R Markdown Microsoft Word workflow. It generates Word documents that can be de-rendered back into R Markdown, retaining edits on the Word document, including tracked changes.”

GitHub: noamross/redoc

30.3.5 {tufte}

An extension to {bookdown}, allows the creation of handouts in the style developed by Edward Tufte.

See:

30.3.5.1 {tint}: tint is not tufte

Package to extend range of formatting choices under the {tufte} package


30.4 {Shiny}

Colin Fay, 2019-04-29, Building a Shiny App as a Package (via R-bloggers.com)

Carson Sievert, 2019-05-14, Interactive web-based data visualization with R, plotly, and shiny

Florianne Verkroost, 2019-10-09, Building Interactive World Maps in Shiny

30.4.1 shinyapps.io

RStudio’s cloud hosting of your shiny apps

*shinyapps.io user guide


30.5 Other reference materials

Dean Attalli (2015-03-24) Knitr’s best hidden gem: spin


References

Yihui Xie, Amber Thomas, and Alison Presmanes Hill. 2019. Blogdown: Creating Websites with r Markdown. CRC Press / Chapman & Hall. https://bookdown.org/yihui/blogdown/.