Chapter 8 Word
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
, as mentioned in Section 4.7.
---
output:
word_document: default
bookdown::word_document2: default # for cross-references
---
From our experience, the most frequently asked questions about Word output are:
How can I apply a custom Word template to the document?
How can I incorporate changes made in Word in the original R Markdown document?
How can I style individual document elements?
We will address these questions in this chapter.
当前内容版权归 Chapman & Hall/CRC 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Chapman & Hall/CRC .