title: printing multiple lines of renderText in Shiny
body: <p>I am trying to get two lines of reactive values printed in the mainpage using two sequential calls to the renderText function. I am now only seeing the second value. </p>
  
  <p>If I remove the second renderText function, the program happily prints the first value, but if I return the second renderText function to the code, the first value is not printed and the second one is.</p>
  
  <p>What I would like is a mainpage with the two reactive values (sensitivity and specificity) displayed; once this is working then I'll throw up some  additional plots.</p>
  
  <p>Is this the wrong render* function, or perhaps the wrong pageWithSidebar() function? </p>
  
  <p>Here are the UI.R and server.R files.</p>
  
  <pre><code>#ui.R
  
  library(shiny)
  
  # Define UI for application that draws a histogram
  shinyUI(pageWithSidebar(
    headerPanel("Header"),
    mainPanel("Main"),
  
    # Sidebar with a slider input for the number of bins
    sidebarLayout(
      sidebarPanel(
        sliderInput("sensitivity",
                    "Sensitivity",
                    min = 0.0,
                    max = 1.0,
                    value = 0.8),
         sliderInput("specificity",
                 "Specificity",
                 min = 0.0,
                 max = 1.0,
                 value = 0.4)
      ),
  
  
      # Show a plot of the generated distribution
      mainPanel({
        textOutput("caption1")
        textOutput("caption2")
      })
    )
   )
  )
  
  
  and server.R
  
  #server.R
  
  library(shiny)
  
  shinyServer(function(input, output) {
      output$caption1 &lt;- renderText(input$sensitivity)
      output$caption2 &lt;- renderText(input$specificity)
  }
  )
  </code></pre>