This module uses downloadHandler
to allow downloads of tables in different
formats (xlsx
, rds
, and csv
).
downloadTable(input, output, session, rTable, fileName = "tableFile") downloadTableUI(id)
input, output, session | Standard module parameters |
---|---|
rTable | A reactive table (for example a |
fileName | A prefix for the default name in the download handler. |
id | The module identifier |
Currently, no reactive code is returned due to issues with
downloadTable
. See here
if (FALSE) { shinyApp( fluidPage(downloadTableUI("downloadTable")), function(input, output, session) { callModule(downloadTable, "downloadTable", reactive({mtcars}), fileName = "mtcars") } ) }