Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library(shiny)
- ui <- fluidPage(
- sidebarPanel(
- h4("Title"),
- p("Subtitle",
- br(),"Line1",
- br(),"Line2",
- br(),"Line3"),
- downloadButton("Download Metadata", label = "Download")
- )
- )
- server <- function(input, output, session){
- output$downlaodData <- downloadHandler(
- filename = function(){
- paste("data-", Sys.Date(), ".txt", sep = "")
- },
- content = function(file) {
- write.txt(data, file)
- }
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement