xtableExport {RcmdrPlugin.Export} | R Documentation |
Rcmdr menu interface to export objects to LaTeX or HTML code.
xtableExport()
The graphcal interface to xtable
is, naturally,
limited to exporting objects that xtable
itself can convert.
The plug-in, however, attempts to work around and – in certain cases –
prior to exporting it converts the object to a data type that xtable
can handle. In other cases, the plugin does not pass to xtable
the object itself, but the relevant structure element(s) (say,
.numSummary$table
). Objects of certain classes are simply
ignored and are not displayed in the dialog.
Objects of the following classes are ignored: logical
,
function
, help_files_with_topic
, packageIQR
,
trellis
, xtable
, latex
, htest
,
stem.leaf
, multinom
.
Objects of the following classes receive "special treatment":
numSummary
, summary.multinom
, polr
,
summary.polr
, reliability
, confint.glht
,
factanal
, outlier.test
, array
,
integer
, character
, numeric
, rcorr
,
by
.
All other objects are passed directly to xtable
.
If the object retrieved is on the ignored list, initializing the dialog will fail "silently", display a warning message and attempt re-initialize. If the stack is empty, or contains only objects that cannot be exported, initializing the dialog will fail "silently" and display an error message.
The digits
optional argument defaults to "2". In the graphical
dialog, the user must specify a digit (say, "3") or a list of length
equal to the number of columns of the resulting table (say, "0,0,3,3,3"
for a 5 column table, as opposed to the more R-intuitive "c(0,0,3,3,3)"
list).
The size
printing option (to the best of my knowledge) should be
one of the following LaTeX sizes: tiny, small, big, huge. For normal
size leave the field blank.
NULL
Liviu Andronic landronimirc@gmail.com