View source: R/downloadGGPlot.R
downloadGGPlotButton | R Documentation |
Please use
downloadGGPlotButtonServer()
instead.
Processes and initiates the download of a ggplot object.
downloadGGPlotButton(
input,
output,
session,
ggplotObject,
height = NULL,
width = NULL
)
input , output , session |
Needed for Shiny |
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.