title: How to download the edited dataframe in .csv format in rshiny?
body: <p>I am developing an Rshiny application in which I edited the contents of the dataframe and downloading the edited dataframe in .csv format. But the downloaded file is not in .csv format. Can anyone help me with this issue?</p>
  
  <pre><code>  output$downloadData &lt;- downloadHandler(filename = function() {paste(Sys.time(), 'Edited Table.csv', sep='') } ,content = function(file) {write.csv(sample_data(), file, row.names = FALSE)})
  </code></pre>
  
  <p>This is the code used. Thanks in advance!!</p>