Learn R Programming

qreport (version 1.0-1)

htmlView: htmlView

Description

Convert Objects to HTML and View

Usage

htmlView(...)

Value

nothing is returned; used to launch a browser on html text

Arguments

...

any number of objects for which an html method exists

Author

Frank Harrell

Details

Converts a series of objects created to html. Displays these in the RStudio View pane. If RStudio is not running displays in an external browser. Assumes there is an html method for the objects (e.g., objects are result of Hmisc::describe or Hmisc::contents. User can page through the different outputs with the arrow keys in the RStudio View pane

Examples

Run this code
if (FALSE) {
 htmlView(contents(d1), contents(d2))
 htmlView(describe(d1), describe(d2, descript='Second Dataset'))
 htmlView(contents(d), describe(d))
}

Run the code above in your browser using DataLab