Convenience method that provides an implementation of the
base::print()
method for HTML content.
html_print(
html,
background = "white",
viewer = getOption("viewer", utils::browseURL)
)
Invisibly returns the URL or path of the generated HTML page.
HTML content to print
Background color for web page
A function to be called with the URL or path to the generated
HTML page. Can be NULL
, in which case no viewer will be invoked.