[R] Tranferring R results to word prosessors

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Thu Feb 9 16:34:33 CET 2006


I agree that this is the best way. 

I often use Courier font with font size 10 that gives very good results.


On Thu, 2006-02-09 at 09:47 -0500, Gabor Grothendieck wrote:
> In Word use a fixed font such as Courier rather than a proportional
> font and it will look ok.
> 
> On 2/9/06, Tom Backer Johnsen <backer at psych.uib.no> wrote:
> > I have just started looking at R, and are getting more and more irritated
> > at myself for not having done that before.
> >
> > However, one of the things I have not found in the documentation is some
> > way of preparing output from R for convenient formatting into something
> > like MS Word.  An example:  If you use summary(lm(....)) you get nice
> > output.  However, if you try to paste that output into the word processor,
> > all the text elements are separated by blanks, and that is not optimal for
> > the creation of a table (in the word processing sense).
> >
> > Is there an option to generate tab-separated output in R ? That would solve
> > the problem.
> >
> > Tom
> >
> > +----------------------------------------------------------------+
> > | Tom Backer Johnsen, Psychometrics Unit,  Faculty of Psychology |
> > | University of Bergen, Christies gt. 12, N-5015 Bergen,  NORWAY |
> > | Tel : +47-5558-9185                        Fax : +47-5558-9879 |
> > | Email : backer at psych.uib.no    URL : http://www.galton.uib.no/ |
> > +----------------------------------------------------------------+
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> >
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list