title: Allowing multiple numbers in one numericInput in shiny
body: <p>I'm trying to have users specify variable breaks as inputs to be supplied to <code>cut</code> function</p>
  
  <p>For fixed breaks, the below code works by accepting one numeric input and cutting the column into chunks of the specified width. I however want this to be variable, such that one can choose any number of breaks. Below is my shiny code. </p>
  
  <pre><code>
  ui &lt;- fluidPage(
    numericInput("breaks", "Breaks:", 5, min = 1, max = 100),
    dataTableOutput("data")
  )
  server &lt;- function(input, output) {
    data &lt;- reactive({
      data &lt;- data.frame(A = seq(1:100))
      data$Result &lt;- cut(data$A, breaks = c(0, 5, 8, 15, 100))
      data$Result2 &lt;- cut(data$A, breaks = seq(0, 100, by = input$breaks))
      data
    })
  
   output$data &lt;- renderDataTable(data())
  }
  shinyApp(ui, server)
  
  </code></pre>
  
  <p>Which is the easiest way to have users enter variable breaks (e.g 0,5,8,15,100 in my code example) and supply the same to the cut function to obtain a new column similar to my Result column?</p>