title: R Shiny: plot with dynamical size
body: <p>I wanna have a plot with dynamic size and all should happen in the shinyUI.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>   shinyUI{
        sidebarPanel(
              sliderInput("width", "Plot Width", min = 10, max = 20, value = 15),
              sliderInput("height", "Plot Height", min = 10, max = 20, value = 15)
         )
  
          mainPanel(
              plotOutput("plot", width="15cm", height="15cm")
          )
      }
  </code></pre>
  
  <p>I set "15cm" only to see the plot.</p>
  
  <p>I tried different methods to take the data from the sliderInputs and bring it to the plotOutput. I tried "input.height", "input$heigt" but nothing worked.</p>