odt_document(fig_width = 5, fig_height = 4, fig_caption = FALSE,
template = "default", reference_odt = "default", includes = NULL,
keep_md = FALSE, md_extensions = NULL, pandoc_args = NULL)
TRUE
to render figures with captionsNULL
to use pandoc's
built-in template; pass a path to use a custom template that you've
created. See the documentation on
includes
function).rmarkdown_format
for
additional details.render
odt_document
format.R Markdown documents can have optional metadata that is used to generate a document header that includes the title, author, and date. For more details see the documentation on R Markdown metadata.
R Markdown documents also support citations. You can find more information on
the markdown syntax for citations in the
library(rmarkdown)
# simple invocation
render("input.Rmd", odt_document())
# specify an option for syntax highlighting
render("input.Rmd", odt_document(highlight = "zenburn"))
Run the code above in your browser using DataLab