oprint: Print ovariables or data frames in html format.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/OPrint.r

Description

Oprint uses xtable to output ovariables or data.frames or matrix as html formatted tables. In other cases uses regular print but adds formatting.

Usage

1
2
oprint(x, pre = TRUE, ...)
oprint.table(x, show_all = FALSE, sortable = TRUE, ...)

Arguments

x

Any object with a print or oprint method.

pre

TRUE for <pre> formatting.

show_all

if TRUE all data rows are printed, else only first thousand rows get printed (default).

sortable

if TRUE output table is made sortable.

...

extra arguments are passed to oprint.table and/or xtable

Details

If argument x is an ovariable, its output-slot gets printed. If output-slot is empty, EvalOutput will be automatically executed to generate output. This function is aimed for being used within Opasnet only! R console will print out html markup. oprint.table is not exported. Use oprint instead and ... to pass arguments show_all and sortable.

See also: http://en.opasnet.org/

Value

Input data as html formatted table string.

Author(s)

E. Happonen [email protected]

See Also

xtable

Examples

1
2
x <- data.frame(c(1,2),c(2,4))
oprint(x)

OpasnetUtils documentation built on July 4, 2017, 9:44 a.m.