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

Martin Maechler maechler at stat.math.ethz.ch
Tue Aug 2 18:40:47 CEST 2005


>>>>> "Heinz" == Heinz Tuechler <tuechler at 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")




More information about the R-help mailing list