print.huxtable {huxtable}R Documentation

Default print method for huxtables

Description

By default huxtables are printed using print_screen(). In certain cases, for example in Sweave documents, it may be useful to change this. You can do so by setting options(huxtable.print).

Usage

## S3 method for class 'huxtable'
print(x, ...)

Arguments

x

A huxtable.

...

Options passed to other methods.

Examples

## Not run: 
# to print LaTeX output:
options(huxtable.print = print_latex)
# to print huxtables like data frames:
options(huxtable.print = function(x, ...) print(as.data.frame(x)))

## End(Not run)

[Package huxtable version 4.0.0 Index]