February 20, 2019

How to Use Pandoc Filters for Advanced Customisation of Your R Markdown Documents

In a package I’m developing, I had a problem around highlighting text in LaTeX and HTML output. The solution I found involved using pandoc filters to take full control over the final document. Here’s a guide to writing such filters when R Markdown ain’t got what you need.

February 3, 2019

How to Create New Chunk Options in R Markdown

What to do when the chunk options you need to get R Markdown to do what you want are missing? You create the ones you need. It is incredibly useful to be able to do so — unfortunately it can be a bit tricky to figure out how. Here’s a quick guide.

October 29, 2018

R packages for CHI papers with R Markdown

In a previous blog post, I detailed at length the nitty-gritty of how one might take the ACM Master Article LaTeX templates and get them to play nicely with R Markdown. To make it super easy in practice, I created two R packages which supply easy-to-use R Markdown templates in RStudio for CHI Proceedings and CHI Extended Abstracts.

July 18, 2018

How to Write ACM Articles with R Markdown

I love R Markdown, but struggled for hours and hours to get it to play nicely with arbitrary LaTeX templates, especially for submissions to the ACM CHI conference. I cracked it in the end (I think). Here’s a tutorial explaining how to write CHI articles in R Markdown using ACM’s new article template.