xtable (version 1.0-1)

print.xtable: Print Export Tables

Description

Function displaying or writing to disk the LaTeX or HTML code associated with the supplied object of class xtable.

Usage

print.xtable(x, type="latex", file="", append=FALSE, ...)

Arguments

x
An object of class "xtable".
type
Type of table to produce. Possible values for type are "latex" or "html". Default value is "latex".
file
Name of file where the resulting code should be saved. If file=="", output is displayed on screen. Default value is "".
append
If TRUE and file!="", code will be appended to file instead of overwriting file. Default value is FALSE.
...
Additional arguments. (Currently ignored.)

Details

This function displays or writes to disk the code to produce a table associated with an object x of class "xtable". The resulting code is either a LaTeX or HTML table, depending on the value of type.

See Also

xtable, caption, label, vsep, align, digits, display, formatC