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

Peter Wilkinson pwilkinson at videotron.ca
Tue Jun 22 21:24:25 CEST 2004


When using the write.table (say for a tab delimited file) command on a 
matrix with Row and Columns, the column headers are always being left 
shifted into the column where the row numbers are being placed. One can see 
this when you open up the tab delimited file in excel.

Is there a better command for this, or is this supposed to be a 'feature'.

Peter




More information about the R-help mailing list