We can add a download button to the UI using downloadButton()
, and write
the content of the file in downloadHandler()
in server.R
. See the
tutorial for more
details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.