downloadModule: download Plot as PDF or ggplot Object, modularized server

View source: R/downloadModule.R

downloadModuleR Documentation

download Plot as PDF or ggplot Object, modularized server

Description

Internal method that creates UI with buttons to download a plot as a PDF or ggplot object.

Usage

downloadModule(input, output, session, plotObject, plotName)

Arguments

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.

Author(s)

Julia Wrobel jw3134@cumc.columbia.edu


refund.shiny documentation built on Oct. 11, 2022, 1:05 a.m.