Uses knitr's knit_expand to expand whisker elements. Always fills in a whiskered parameter ".code" with the stateful server code necessary to generate outputs.
1 2 | report_from_template(template, server, ..., dots = list(),
envir = parent.frame())
|
template |
a whiskered (" ... ") knitr template |
server |
the server function of the caller |
... |
additional list to fill in to knitr template |
dots |
additional list to fill in to knitr template |
envir |
environment in which code should be generated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.