downloadGGPlotButtonServer: Download Plot Button (server)

View source: R/downloadGGPlot.R

downloadGGPlotButtonServerR Documentation

Download Plot Button (server)

Description

Processes and initiates the download of a ggplot object.

Usage

downloadGGPlotButtonServer(id, ggplotObject, height = NULL, width = NULL)

Arguments

id

Character value that uniquely identifies this instance of the module. Should match up with the id value for one downloadGGPlotButtonUI().

ggplotObject

Reactive expression containing the ggplot object to be outputted for download.

height, width

Height and width of the plot to be outputted

Value

Downloads the ggplot with the inputted filename


keithnewman/shinyDownload documentation built on March 13, 2024, 6:35 a.m.