rmarkdown-package

0th

Percentile

R Markdown Document Conversion

Convert R Markdown documents into a variety of formats including HTML, MS Word, PDF, and Beamer.

Details

The rmarkdown package includes high level functions for converting to a variety of formats. For example:

render("input.Rmd", html_document()) render("input.Rmd", pdf_document())

You can also specify a plain markdown file in which case knitting will be bypassed:

render("input.md", html_document())

Additional options can be specified along with the output format:

render("input.Rmd", html_document(toc = TRUE)) render("input.Rmd", pdf_document(latex.engine = "lualatex")) render("input.Rmd", beamer_presentation(incremental = TRUE))

You can also include arbitrary pandoc command line arguments along with the other options:

render("input.Rmd", pdf_document(toc = TRUE, "--listings"))

See Also

render, html_document, pdf_document, word_document, beamer_presentation

Aliases
  • rmarkdown
  • rmarkdown-package
Documentation reproduced from package rmarkdown, version 0.7, License: GPL-3

Community examples

Looks like there are no examples yet.