myHTMLInitFile {HTMLUtils} | R Documentation |
Those two functions handle the beginning and the ending of a HTML report, by writing the HTML <body><head><title></title></head>...</body> tags and their options. When working manually, the user may need to use it's own functions or to explicitly write to a file using cat("", file=).
myHTMLInitFile(outdir = tempdir(), filename = "index", extension = "html", HTMLframe = TRUE, BackGroundColor = "FFFFFF", BackGroundImg = "", Title = "R output", NavTitle = "", CSSFile = "R2HTML.css", useLaTeX = TRUE, useGrid = TRUE, img.logo.path = paste(Sys.getenv("HOME"), "/public_html/", sep = ""), img.logo = "logo-SenseNetworks.png", img.href = "http://www.sensenetworks.com", JSCPATH = NULL, APPEND = FALSE, REFRESH = "")
outdir |
directory to store the output |
filename |
target HTML report filename |
extension |
target HTML report extension (htm, html,...) |
HTMLframe |
should the output be handled by frames [boolean] |
BackGroundColor |
option bgcolor for HTML tag <body> |
BackGroundImg |
option background for HTML tag <body> |
Title |
string to pass to HTML <title> tag |
NavTitle |
|
CSSFile |
path and name of a CSS file to use |
useLaTeX |
boolean - add required references to javascript AsciiMathML in order to use as.latex |
useGrid |
boolean - add required references to javascript grid in order to use R2HTML grid fonctions |
img.logo.path |
|
img.logo |
|
img.href |
|
JSCPATH |
|
APPEND |
append to existing HTML page ? |
REFRESH |
Meta refresh is a method of instructing a web browser to automatically refresh the current web page after a given time interval. |
Markus Loecher, Sense Networks <markus@sensenetworks.com>