Exports a sideview htmlwidget or table objects to a self-contained HTML file
with all styles, fonts, and JavaScript embedded.
Usage
save_sideview(
widget,
file,
selfcontained = TRUE,
title = "Sideview",
background = "white",
...
)Arguments
- widget
A
sideviewhtmlwidget object, or tabular data objects that can be converted to one viasideview_widget.- file
Path to the output HTML file (e.g.
"report.html").- selfcontained
Logical; whether to produce a standalone HTML file with all CSS and JavaScript dependencies inlined. Defaults to
TRUE.- title
HTML title for the output page. Default
"Sideview".- background
Background color for the document body. Default
"white".- ...
Additional arguments passed to
htmlwidgets::saveWidget().
