render_ppt: Render .Rmd to PPT

Description Usage Arguments Author(s) Examples

View source: R/render.R

Description

This function takes a rmarkdown file as input and generates a powerpoint as ouput, using ReporteRs. It is a dumbed down version of knitr, similar to render_pdf (where # is a section and ## is a new slide).

Usage

1
2
render_ppt(input, output = NULL, env = parent.frame(), encoding = "UTF-8",
  template = NULL, ...)

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.

template

Optional powerpoint template to use for when rendering.

...

Unused.

Author(s)

Kristian D. Olsen

Examples

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

## End(Not run)

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