An S3 generic method for saving an HTML-like object to a file. The default
method copies dependency files to the directory specified via libdir
.
save_html(html, file, ...)
# S3 method for default
save_html(html, file, background = "white", libdir = "lib", lang = "en", ...)
HTML content to print.
File path or connection. If a file path containing a sub-directory, the sub-directory must already exist.
Further arguments passed to other methods.
Background color for web page.
Directory to copy dependencies to.
Value of the <html>
lang
attribute.