plotdownload | R Documentation |
The plotdownload module provides export functionality for panels with plots. This will generally not be called directly, but by other modules
plotdownload(
input,
output,
session,
makePlot,
filename = "plot.png",
plotHeight,
plotWidth
)
input |
Input object |
output |
Output object |
session |
Session object |
makePlot |
A reactive for generating the plot |
filename |
A filename (default = 'plot.png') |
plotHeight |
A number or reactive for calculating the height of the plot |
plotWidth |
A number or reactive for calculating the width of the plot |
callModule(plotdownload, "heatmap", makePlot = plotHeatmap, filename = "heatmap.png", plotHeight = plotHeight, plotWidth = plotWidth)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.