Download multiple plots with one click in Shiny


#1

Hi,

I have a Shiny app that generates a dynamic number of plots using renderPlot depending on what the user chooses to plot. Is there a way to export all the plots the user has chosen as individual image-files with only one download button?

Thanks for your help,
Jens


#2

Yes,

In your server function, write the plots to drive then bundle them in a zip file. Finally, make the zip file the object that is downloaded.


#3

Sounds reasonable, will give that a shot. Thanks a lot!