render_memo()
takes various arguments, most effectively built
into the function, and renders your R Markdown memo to various outputs
supported by stevetemplates.
render_memo( file = "memo.Rmd", output_dir = "doc", outputs = c("pdf", "word"), latex_engine = "xelatex", dev = "cairo_pdf" )
file | the name of the R Markdown file containing that is your memo Defaults to "memo.Rmd". |
---|---|
output_dir | the output directory to contain the formatted manuscript.
Defaults to "doc". Optimally, this is a subdirectory of the directory
containing the manuscript. A user who wants the formatted manuscript
to be in the same directory as the R Markdown file should specify
|
outputs | the various formatted manuscript types the user wants, supplied as a character vector. Must be one or more of "pdf" and/or "word". No other formats are supported right now. |
latex_engine | the LaTeX engine the user may want to use.
Defaults to |
dev | the graphics device for LaTeX PDFs. Defaults to |
render_memo()
takes various arguments, most effectively built
into the function, and renders your R Markdown memo to various outputs
supported by stevetemplates.
if (FALSE) { render_memo() }