title: r shiny: access input fields in UI
body: <p>I'm trying to access an input field in <em>mainPanel</em> from the sidebarPanel, but I couldn't succeed.</p>
  
  <p>Code:</p>
  
  <pre><code>  shinyUI(pageWithSidebar{
        sidebarPanel(
          sliderInput("x", "X", min = 10, max = 100, value = 50)
        ),
  
        mainPanel(
          #this is where I wanna use the input from the sliderInput
          #I tried input.x, input$x, paste(input.x)
        )
    }) 
  </code></pre>
  
  <p>Where seems to be the problem? Or isn't possible to use the input from the sidebarPanel in the mainPanel?</p>