render_pdf: Render .Rmd to PDF

Description Usage Arguments Author(s) Examples

View source: R/render.R

Description

Render a rmarkdown file using the included theme (mtheme). Read more in the documentation for render.

Usage

1
2
3
4
render_pdf(input, output = NULL, env = parent.frame(), encoding = "UTF-8",
  keep_sty = FALSE, ...)

beamer_template(toc = TRUE, keep_tex = FALSE)

Arguments

input

Path to a .Rmd file.

output

Output directory. Default uses the directory of the input file.

env

Optional environment to use when evaluating the .Rmd-file.

encoding

The encoding of the input file. Defaults to UTF-8.

keep_sty

Optional: Keep .sty files for the beamer theme.

...

Further arguments passed to beamer_template.

toc

Include a table of contents.

keep_tex

Keep intermediary .tex files. (For debugging).

Author(s)

Kristian D. Olsen

Examples

1
2
3
4
5
## Not run: 
  # TODO
  render_pdf("example.Rmd")

## End(Not run)

itsdalmo/reporttoolDT documentation built on May 18, 2019, 7:11 a.m.