R: Display an object in HTML.: Display an object in HTML.

Description

This generic function generates a complete HTML page from an object.

Usage

1
2
3
4
5
toHTML(x, ...)
## S3 method for class 'packageIQR'
toHTML(x, ...)
## S3 method for class 'news_db'
toHTML(x, ...)

Arguments

x

An object to display.

...

Optional parameters for methods; the "packageIQR" and "news_db" methods pass these to HTMLheader.

Value

A character vector to display the object x. The "packageIQR" method is designed to display lists in the R help system.

See Also

HTMLheader

Examples

1
cat(toHTML(demo(package = "base")), sep = "\n")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.