Description Usage Arguments Value Author(s)
This doesn't do much more than just call knitr, but it first has a bit of logic to overwrite or not the target directory. AnalysisPageServer reports are entire directories, so this is convenient to manage the creation of the report at that level.
1 2 3 |
template.Rmd |
Path to .Rmd template |
outdir |
Path to output directory. Default: |
outfile |
Path to output main .html file. Default is to use |
e |
Environment to pass to knitr. Default: |
overwrite |
Logical, default FALSE. This controls the behavior If outdir already exists.
In that case, if |
... |
Passed through to |
Path to filename written (that is, outfile
).
Brad Friedman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.