tmpfic=HTMLInitFile(tempdir(),CSSFile="http://www.stat.ucl.ac.be/R2HTML/Pastel.css")
data(iris)
HTML(as.title("Fisher Iris dataset / Correlation matrix - normal matrix"),
file=tmpfic)
HTML(cor(iris[,1:4]), file=tmpfic)
HTML(as.title("Fisher Iris dataset / Correlation matrix - traffic highlighting"),
file=tmpfic)
HTML.cormat(cor(iris[,1:4]), file=tmpfic)
# File is generated, you can call the browser:
if (FALSE) browseURL(tmpfic)
Run the code above in your browser using DataLab