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

Heinz Tuechler tuechler at gmx.at
Tue Aug 2 15:45:14 CEST 2005


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




More information about the R-help mailing list