The R3port package is written to easily create pdf and html documents including tables, listings and plots.
The package makes use of the option system within R. The way it was implemented is to always use an option in case it was set in options(). If an option is NULL, the function will evaluate the argument. The following options can be set within the package:
show (see ltx_doc(), html_doc())
template (see ltx_doc(), html_doc())
css (see html_doc())
compile (see ltx_doc())
orientation (see ltx_doc())
pwidth (see ltx_plot(), html_plot())
pheight (see ltx_plot(), html_plot())
Useful links: