Learn R Programming

R2HTML (version 2.3.4)

HTMLChangeCSS: Change the current CSS file for dynamic use of package

Description

When using in dynamic mode, a call to HTMLStart copy the R2HTML.css file to the specified output directory (temp by default). HTMLChangeCSS copy a new CSS file to this destination (or to working directory). Then, the produced HTML files are now based on this new CSS.

Usage

HTMLChangeCSS(newCSS = "R2HTML", from = NULL)

Value

A boolean: wether this has been done or not.

Arguments

newCSS

Name of the CSS to use (without the extension)

from

Source directory where to search the CSS file

Author

Eric Lecoutre

See Also

HTMLStart

Examples

Run this code
if (FALSE) {
	HTMLStart()
	(x=diag(3))
	HTMLChangeCSS("Pastel")
	# refresh the browser
}

Run the code above in your browser using DataLab