render_ms()
takes various arguments, most effectively built
into the function, and renders your R Markdown manuscript to various outputs
supported by stevetemplates.
render_ms( file = "ms.Rmd", output_dir = "doc", outputs = c("pdf", "pdf-anon", "word", "html"), parameters, latex_engine = "xelatex", dev = "cairo_pdf" )
file | the name of the R Markdown file containing that is your manuscript. Defaults to "ms.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", "pdf-anon", "word", and/or "html". No other formats are supported right now. |
parameters | optional parameters, specified as a character, based on
what's in your R Markdown file, passed as |
latex_engine | the LaTeX engine the user may want to use.
Defaults to |
dev | the graphics device for LaTeX PDFs. Defaults to |
render_ms()
takes various arguments, most effectively built
into the function, and renders your R Markdown manuscript to various outputs
supported by stevetemplates.
if (FALSE) { render_ms() }