rmd.template: A R markdown and a Word template file

template.filesR Documentation

A R markdown and a Word template file

Description

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.

Details

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.


blueskypie/wfr documentation built on Feb. 6, 2024, 4:38 p.m.