[R] To export results
dwinsemius at comcast.net
Mon Dec 28 14:48:53 CET 2009
On Dec 28, 2009, at 12:19 AM, sathiya_mtm wrote:
> I am new to this software, Please tell me how to save the result to
> a word
> or text format from R console.
> For example, if I run a regression, and I want to save the result in
> word what should I do for that. Please do reply for my query.
capture.output(fit<- lm(y~z), file="lmout.txt")
capture.output( summary(fit), file="lmout.txt")
> Arun Sathiya.
> View this message in context: http://n4.nabble.com/To-export-results-tp989600p989600.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help