title: Downloading .RData files with Shiny
body: <p>I'm creating a Shiny app and one of my outputs is best saved as a .RData file for the user.</p>
  
  <p>I can download data in various other formats but I'm not sure how to work with .RData. An alternate method to save R objects would be fine here too. Some dummy code on the server side would look like:</p>
  
  <pre><code># Make widget
  widget &lt;- 1:42
  
  # Download widget
  output$widget &lt;- downloadHandler(
    filename=paste0("widget_", Sys.Date(), ".RData"), 
    content=function(file){
      save(widget), file=file)
    }
  )
  </code></pre>
  
  <p>I can click the download button fine and it refreshes my window but no items are put in the download queue.</p>