HTMLheader(title = "R", logo = TRUE, up = NULL,
top = file.path(Rhome, "doc/html/index.html"),
Rhome = "",
css = file.path(Rhome, "doc/html/R.css"),
headerTitle = paste("R:", title),
outputEncoding = "UTF-8")
up
and top
links should be relative to the current page.
The Rhome
path default works with dynamic help; for static help, a
relative path (e.g., ../..
) to it should be used.cat(HTMLheader("This is a sample header"), sep="\n")
Run the code above in your browser using DataLab