Re: [R] how to print a data.frame without row.names

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Wed 03 Aug 2005 - 02:40:47 EST

>>>>> "Heinz" == Heinz Tuechler <tuechler@gmx.at>
>>>>> on Tue, 02 Aug 2005 17:46:07 +0200 writes:

  .......................

    Heinz> I tried this, but then the column headers and column     Heinz> contents are not aligned.

  ........................

Use the tabulator if you need them aligned :

write.table(USArrests, row.names = FALSE, sep = "\t")



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Aug 03 02:45:09 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:39 EST