title: Reading objects from shiny output object not allowed?
body: <p>I'm trying to write a little app that will allow the user to make a scatterplot, select a subset of points on the plot, then output a table in .csv format with just those selected points. I figured out how to get the page up and running and how to select points using brushedPoints. The table with selected points appears but when I press the Download button, the error "Reading objects from shinyoutput object not allowed." appears. Am I unable to download the table that I can visually see on the screen as a .csv? If so, is there a workaround?</p>
  
  <p>I've recreated the problem using the iris dataset below. Any help figuring out why I cannot download the table of displayed rows would be greatly appreciated.</p>
  
  <pre><code>data(iris)
  
  ui &lt;- basicPage(
    plotOutput("plot1", brush = "plot_brush"),
    verbatimTextOutput("info"),mainPanel(downloadButton('downloadData', 'Download'))
  )
  
  
  server &lt;- function(input, output) {
    output$plot1 &lt;- renderPlot({
  ggplot(iris,aes(x=Sepal.Width,y=Sepal.Length)) +
      geom_point(aes(color=factor(Species))) + 
      theme_bw()
    })
  
    output$info &lt;- renderPrint({
  brushedPoints(iris, input$plot_brush, xvar = "Sepal.Width", yvar = "Sepal.Length")
    })
  
    output$downloadData &lt;- downloadHandler(
        filename = function() { 
          paste('SelectedRows', '.csv', sep='') },
          content = function(file) {
          write.csv(output$info, file)
        }
    )
  
  }
  
  
  shinyApp(ui, server)
  </code></pre>