Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

HTMLCSS

Insert HTML code to refer to an external CSS file


Description

Allow to use CSS file in a report

Usage

HTMLCSS(file = HTMLGetFile(), append = TRUE, CSSfile = "R2HTML.css")

Arguments

file

the target HTML file

append

logical. If 'TRUE' output will be appended to 'file'; otherwise, it will overwrite the contents of 'file'

CSSfile

name of the CSS file to refer

Value

no value returned.

Author(s)

Eric Lecoutre

References

For information about CSS, have a look at W3 web site http://www.w3.org/Style/CSS/

Examples

myfile <- file.path(tempdir(),"tmp.html")
HTMLCSS(myfile,CSSfile="myownCSS.CSS")

R2HTML

HTML Exportation for R Objects

v2.3.2
GPL (>= 2)
Authors
Eric Lecoutre [aut], Milan Bouchet-Valat [cre, ctb], Thomas Friedrichsmeier [ctb]
Initial release
2016-06-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.