trying again: [R] write.table when keeping column headers (names of Columns in matrix) and row numbers

Peter Wilkinson pwilkinson at videotron.ca
Tue Jun 22 23:47:50 CEST 2004


> > My question is _when you keep the row names_, why is the command
> > write.table implemented in such a way that the column names are left
> > shifted starting in the column where the row names are written?
>
>That is not true if col.names=NA.


I get it now ...

I think this is related to the fact that I have not 'named' the rows in the 
table with the names command, as it was intended to be used.




More information about the R-help mailing list