template.files | R Documentation |
A R markdown template file that can produce 'MS Word', html, or pdf file based on a flag, and a 'MS Word' template file on which the style of Word output file is based on.
This R markdown template can produce 'MS Word', html, or pdf file based on the flag oFormat
on line 3. The style of 'MS Word' format is based on the 'MS Word' template file. They can be accessed by
system.file("extdata", "rmd.template.Rmd", package = "wfr")
system.file("extdata", "word.template.for.Rmd.docx", package = "wfr")
Function createRmd
appends knitr code chunks to this Rmd template to form the final Rmd file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.