View source: R/downloadModule.R
downloadModule | R Documentation |
Internal method that creates UI with buttons to download a plot as a PDF or ggplot object.
downloadModule(input, output, session, plotObject, plotName)
input |
gets user input from UI |
output |
designates output for UI |
session |
Shiny variable for server modules |
plotObject |
Reactive plot object defined elsewhere in the server function. |
plotName |
Character string designating name of the plot for PDF output. |
Julia Wrobel jw3134@cumc.columbia.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.