Some suggestions in increasing complexity: 1. Cut-and-paste from the R console. (Cut-and-paste has got to be the best computer invention ever.)
2. If you want to generate the output automatically from an unattended script, try help("cat") and help("file") 3. Try help("Sweave") for even more automated document production. Also package "odfWeave" and perhaps "R2HTML" 4. More Microsofty approaches are in packages c("R2PPT", "rcom") and also "WriteXLS". Personally, I like the first option. Allan. On 02/07/09 18:26, Suyan Tian wrote: > Hi, everyone: > > I forget on how to save a result from R as a word document. For > example, if I run the linear regression and want to save the result: > > summary(lm(y~x) > > in a word file. So I can show it later to my clients. Any idea on how > to do this? > > Thanks a lot, > > > Suyan > > ______________________________________________ > 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. [[alternative HTML version deleted]] ______________________________________________ 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.