Would this be good enough:
# example using builtin BOD data frame
write.csv(cbind(Z = row.names(BOD), BOD), row.names = FALSE)
On Oct 31, 2007 7:04 PM, Earl F. Glynn [EMAIL PROTECTED] wrote:
I've always been frustrated that R never puts a label on the column name for
a column of row names.
The nice thing about R is that you can always extend it in any manner
that you want. Here is some code (that you could put in a function
wrapper) that will do what you want. It just creates the header,
writes it out, and then the dataframe itself without a column header:
out -
2 matches
Mail list logo