HTMLChangeCSS | R Documentation |
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.
HTMLChangeCSS(newCSS = "R2HTML", from = NULL)
newCSS |
Name of the CSS to use (without the extension) |
from |
Source directory where to search the CSS file |
A boolean: wether this has been done or not.
In order to work properly, this assumes you hae used R2HTML.css file (the default one), as this is this file which will be replaced by the new one.
Eric Lecoutre
HTMLStart
## Not run:
HTMLStart()
(x=diag(3))
HTMLChangeCSS("Pastel")
# refresh the browser
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.