[R] writing a data frame using xtable without row names

Monty B. montezumasrevenge at gmail.com
Mon Apr 10 22:14:50 CEST 2006


Dear all,

I am trying to write a data frame / table to a latex table using
xtable. The thing is that I do not want to write the row names as not
all rows will be named.

I have tried writing both a matrix (setting e.g. rownames(mat) <-
c("a", "", ""))
and a dataframe (setting row.names to a similar setting) to disk, but
I still get rows named 1,2,3.

Have anyone solved a similar problem?

cheers,
Monty




More information about the R-help mailing list