R Shiny - downloadHandler

Hi,

Could you please provide a reprex of the issue. A reprex consists of the minimal code and data needed to recreate the issue you're having. You can find instructions how to build and share one here:

From what I see it seems your code is a bit bizarrely organised with output functions within the downloadHandler. I can't make much sense of it. Also, why would you print a data frame to a picture instead of a csv? You cannot select data from a picture, so that's not a great way to store it. I'm sure you have a reason though, just curious...

PJ