Advertisement
Guest User

Untitled

a guest
May 25th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. shinyUI(fluidPage(
  2.  
  3. # Copy the line below to make a text input box
  4. textInput("text", label = h3("Text input"), value = "Enter text..."),
  5.  
  6. hr(),
  7. fluidRow(column(3, verbatimTextOutput("value")))
  8.  
  9. ))
  10.  
  11.  
  12.  
  13.  
  14. shinyServer(function(input, output) {
  15.  
  16. # You can access the value of the widget with input$text, e.g.
  17. output$value <- renderPrint({ input$text })
  18.  
  19. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement