Hello Rstudio community, what is the current recommended method for allowing interactive download of an entire DataTable (e.g. tab-delimited or csv)?
The context of my code below. Hopefully I've provided enough details.
Thanks!
- Shraddha
server <- function(input, output, session) {
curdata <- reactiveVal(NULL)
...
# curdata populated by selecting data fields to view
output$res_table <- DT::renderDataTable({curdata()$data})
}
ui <- fluidPage(
..
tabPanel("Data table",DT::dataTableOutput("res_table")),
...
)