html_print | R Documentation |
Convenience method that provides an implementation of the
base::print()
method for HTML content.
html_print(
html,
background = "white",
viewer = getOption("viewer", utils::browseURL)
)
html |
HTML content to print |
background |
Background color for web page |
viewer |
A function to be called with the URL or path to the generated
HTML page. Can be |
Invisibly returns the URL or path of the generated HTML page.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.