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

From: Heinz Tuechler <tuechler_at_gmx.at>
Date: Tue 02 Aug 2005 - 23:45:14 EST


Dear All,
is there a simple way to print a data.frame without its row.names?

example:
datum <- as.Date(c("2004-01-01", "2004-01-06", "2004-04-12")) content <- c('Neujahr', 'Hl 3 K.', 'Ostern') df1 <- data.frame(datum, content)
print(df1)

       datum content

1 2004-01-01 Neujahr
2 2004-01-06 Hl 3 K.
3 2004-04-12  Ostern

Can I get this "table" without 1, 2, 3 ?

Thanks in advance

Heinz Tuechler



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 Tue Aug 02 23:46:54 2005

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