Learn R Programming

tools (version 3.6.1)

toHTML: Display an Object in HTML

Description

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

Usage

toHTML(x, ...)
# S3 method for packageIQR
toHTML(x, ...)
# S3 method for 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

Run this code
# NOT RUN {
cat(toHTML(demo(package = "base")), sep = "\n")
# }

Run the code above in your browser using DataLab