Re: [R] save the result into a word file

2009-07-03 Thread jim holtman
One technique that I use a screen capture that you can paste into the document. This works nicely since it will also capture the color/size of the fonts. Works well for the graphics that you want to include. If you have MS OneNote, you can use this. There is a freeware package (MWSnap) that I al

Re: [R] save the result into a word file

2009-07-03 Thread Ronggui Huang
How about export it to a HTML and then copy to MS word. I have packaged some code to export lm object to HTML in AJS style. You can have a look at ASAtable (http://r-forge.r-project.org/R/?group_id=328). Ronggui 2009/7/3 Suyan Tian : > Hi, everyone: > > I forget on how to save a result from R as

Re: [R] save the result into a word file

2009-07-03 Thread Liviu Andronic
Hello, On Fri, Jul 3, 2009 at 2:15 PM, Allan Engelhardt wrote: > 1. Cut-and-paste from the R console.  (Cut-and-paste has got to be the > best computer invention ever.) > First option is probably interesting when using in Word a monospace font for R results. For tables, you can also go via copy fr

Re: [R] save the result into a word file

2009-07-03 Thread Allan Engelhardt
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 a

Re: [R] save the result into a word file

2009-07-02 Thread John Kane
I don't know any direct way. ?sink perhaps and then load into Word. You might want to have a look at R2HTML as well. Alternatively have a look at Sweave for output in pdf or OOo formats. --- On Thu, 7/2/09, Suyan Tian wrote: > From: Suyan Tian > Subject: [R] save the result i

[R] save the result into a word file

2009-07-02 Thread Suyan Tian
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 ___