renderRmd: Render an RMarkdown file to be included in a Shiny app.

View source: R/renderRmd.R

renderRmdR Documentation

Render an RMarkdown file to be included in a Shiny app.

Description

This will render an R markdown file to be included in a Shiny app.

Usage

renderRmd(path, input, quiet = TRUE, envir = new.env(), ...)

Arguments

path

Rmarkdown file to render.

input

the input object from Shiny (optional). If provided it will be passed to the Rmarkdown file through the environment.

quiet

An option to suppress printing during rendering from knitr, pandoc command line and others.

envir

the environment in which the Rmarkdown code will be evaluated.

...

other parameters passed to [knitr::knit2html()]


jbryer/ShinyDemo documentation built on March 26, 2022, 6:18 p.m.