title: Save user input in R Shiny
body: <p>In RShiny, I'm working to create a text input field where the user types in a number, and then that number is saved to a variable named savedNumber. Any thoughts as to how I can do this?</p>
  <pre class="lang-r prettyprint-override"><code>library(shiny)
  
  ui &lt;- fluidPage(   
      textInput(&quot;number&quot;,&quot;Enter a number&quot;),
  
  )
  
  server &lt;- function(input, output) {   
  savedNumber=??????
                
  }
  
  
  shinyApp(ui = ui, server = server)
  </code></pre>