View source: R/rmd-create-doc.R
Render Rmarkdown file and potentially copy the output to a new location
1 2 3 4 |
run.dir |
the location of the rmd file to render |
rmd.file |
the name of the rmd file to render |
params |
the list of parameters to pass into the rmd file |
final.dir |
the destination location for the rendered file |
final.title |
the destination title for the rendered file |
copy_rmd |
boolean: TRUE if you want to copy the rmd code file to the output location |
nocopy |
boolean: TRUE if you do NOT want to copy the rendered file to a new location |
nobib |
boolean: TRUE if you do NOT want to copy the bibtext bibliography into the run.dir (i.e. if you don't have citations in this document) |
doctype |
the output file format (string): pdf, html, or docx |
bibtex.dir |
the location of the bibtex file for the citations |
bibtex.file |
the name of the bibtext file |
csl.file |
the name of the csl file giving the citation formal |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.