Description Usage Arguments Value Examples
View source: R/downloadTable.R
This module uses downloadHandler
to allow downloads of tables in different
formats (xlsx
, rds
, and csv
).
1 2 3 | 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
1 2 3 4 5 6 7 8 9 10 | ## Not run:
shinyApp(
fluidPage(downloadTableUI("downloadTable")),
function(input, output, session) {
callModule(downloadTable, "downloadTable", reactive({mtcars}),
fileName = "mtcars")
}
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.