3.6 Rich Text Format document
To create a Rich Text Format (RTF) document from R Markdown, you specify the
rtf_document output format in the YAML metadata of your document:
If you know the RTF format really well, you can actually embed raw RTF content in R Markdown. For example, you may create a table in RTF using other software packages, and insert it to your final RTF output document. An RTF document is essentially a plain-text document, so you can read it into R using functions like
readLines(). Now suppose you have an RTF table in the file
table.rtf. To embed it in R Markdown, you read it and pass to
3.6.1 Other features
Refer to Section 3.1 for the documentation of most features of RTF documents, including table of contents (Section 3.1.1), figure options (Section 3.1.5), keeping Markdown (Section 188.8.131.52), Markdown extensions (Section 184.108.40.206), Pandoc arguments (Section 220.127.116.11), and shared options (Section 3.1.11).