download_pdf_server | R Documentation |
The server component of the Shiny module for creating a pretty pdf download button.
download_pdf_server(id, template_fname, fname = "report", ...)
id |
String. The input slot that will be used to access the value. |
template_fname |
String. The file name of the Rmd template for rendering the report. |
fname |
String. Name of the file under which to save the object. |
... |
Arguments that can be passed into the 'params' argument inside 'rmarkdown::render()'. |
A module server function that can be called in a reactive env.
download_ui
for the UI.
inst/examples/ex-download.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.