Handle downloading of app data and figures
downloadCPFig(rv)downloadCPmod(rv, input)
downloadSEFig(rv)
downloadSEmod(rv, input)
downloadgFig(rv, sc)
downloadMres(rv, input)
downloadMFig(rv, split = TRUE)
downloadTable(filename, tablename, csvformat)
downloadgres(rv, input)
the reactive values list
list of shiny input parameters
size class
logical indicator to use the split or not
the name for the file writing out
the name of the table in the rv list
format for .csv file: "" or NULL for comma-separated, 2 for semi-colon separated
download handler functions