embed_data_html: Embed R data in HTML file

View source: R/embed_data_html.R

embed_data_htmlR Documentation

Embed R data in HTML file

Description

This function generates HTML code to encode an RData/rda file within the HTML file.

Usage

embed_data_html(dataset, textHTML = "Click here to download the data")

Arguments

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.

Author(s)

Richard Morey, slightly modified by F. Rodriguez-Sanchez.

Source

http://bayesfactor.blogspot.com.es/2014/09/embedding-rdata-files-in-rmarkdown.html


Pakillo/rmdTemplates documentation built on Sept. 16, 2022, 3:04 p.m.