Y Tao wrote:
It seems that xtable does not escape special characters such as % (which indicates a
comment line in LaTeX).
Please send your feature request (probably with R code contribution) to
the package maintainer, David Dahl (in CC).
Uwe Ligges
Try these few lines for example:
It seems that xtable does not escape special characters such as % (which indicates a
comment line in LaTeX).
Try these few lines for example:
library(xtable)
q-data.frame(quantile(rnorm(100)))
xtable(q)
This produces:
% latex table generated in R 1.9.1 by xtable 1.2-3 package
% Sat Aug 28