HTMLCSS: Insert HTML code to refer to an external CSS file

Description Usage Arguments Value Author(s) References Examples

Description

Allow to use CSS file in a report

Usage

1
HTMLCSS(file = get(".HTML.file"), 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

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

Example output



R2HTML documentation built on May 2, 2019, 5:11 p.m.

Related to HTMLCSS in R2HTML...