View source: R/downloadGGPlot.R
downloadGGPlotButtonServer | R Documentation |
Processes and initiates the download of a ggplot object.
downloadGGPlotButtonServer(id, ggplotObject, height = NULL, width = NULL)
id |
Character value that uniquely identifies this instance of the
module. Should match up with the |
ggplotObject |
Reactive expression containing the ggplot object to be outputted for download. |
height , width |
Height and width of the plot to be outputted |
Downloads the ggplot with the inputted filename
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.