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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to