Guest User

Untitled

a guest
Jan 16th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. library(shiny)
  2. ui <- fluidPage(
  3. selectInput('selectfile','Select File',choice = list.files('log/')),
  4. textOutput('fileselected')
  5. )
  6.  
  7. server <- function(input,output)
  8. {
  9. output$fileselected <- renderText({
  10. paste0('You have selected: ', input$selectfile)
  11. })
  12. }
  13.  
  14. shinyApp(ui,server)
Add Comment
Please, Sign In to add comment