[R] Print column headers of summary

nmset nmset at netcourrier.com
Thu Jun 18 17:05:20 CEST 2009


Hello,

This is a newbee question. I would simply like to write in a text file the
headers of the summary function along with the computed data.

write(summary(x), file="out.txt")

gives only the data.

I have not found a solution on the forum.

Thank you for any help.
-- 
View this message in context: http://www.nabble.com/Print-column-headers-of-summary-tp24094930p24094930.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list