ABSTRACT

To generate a Word document from R Markdown, you can use the output format word_document. If you want to include cross-references in the document, you may consider the output format bookdown::word_document2.

From our experience, the most frequently asked questions about Word output are:

How to apply a custom Word template to the document?

How to incorporate changes made in Word into the original R Markdown document?

How to style individual document elements?

We will address these questions in this chapter.