View source: R/embed_data_html.R
embed_data_html | R Documentation |
This function generates HTML code to encode an RData/rda file within the HTML file.
embed_data_html(dataset, textHTML = "Click here to download the data")
dataset |
Character (required). Name of the dataset (RData or rda file) to be embedded in the HTML file (skipping the extension, i.e. rda or Rdata). Must be included within quotes. |
textHTML |
Character (optional). Text to be shown in the download link. |
Richard Morey, slightly modified by F. Rodriguez-Sanchez.
http://bayesfactor.blogspot.com.es/2014/09/embedding-rdata-files-in-rmarkdown.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.