1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/savewidget.R
\name{saveWidget}
\alias{saveWidget}
\title{Save a widget to an HTML file}
\usage{
saveWidget(widget, file, selfcontained = TRUE, libdir = NULL,
background = "white", title = class(widget)[[1]], knitrOptions = list())
}
\arguments{
\item{widget}{Widget to save}
\item{file}{File to save HTML into}
\item{selfcontained}{Whether to save the HTML as a single self-contained file
(with external resources base64 encoded) or a file with external resources
placed in an adjacent directory.}
\item{libdir}{Directory to copy HTML dependencies into (defaults to
filename_files).}
\item{background}{Text string giving the html background color of the widget.
Defaults to white.}
\item{title}{Text to use as the title of the generated page.}
\item{knitrOptions}{A list of \pkg{knitr} chunk options.}
}
\description{
Save a rendered widget to an HTML file (e.g. for sharing with others).
}
|