shiny
htmltools
req()
seq()
on.exit()
observe()
isolate
observeEvent
eventReactive
reactiveTimer()
invalidateLater(ms)
git
downloadButton(id, label)
downloadLink(id, label)
class
icon
In the server, use downloadHandler(filename, content). There are only 2 arguments, both are functions.
downloadHandler(filename, content)
filename
content(file)
file
output$download <- downloadHandler( filename = function() { paste0(input$dataset, ".csv") }, content = function(file) { write.csv(data(), file) } )