[R] Tranferring R results to word prosessors

Doran, Harold HDoran at air.org
Thu Feb 9 15:47:26 CET 2006


Well, I don't know if it can be used with Word or not, but you might
consider Sweave for use with LaTeX. Maybe if you use the sink() command
this might work, but I haven't tried it. 

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Tom Backer
Johnsen
Sent: Thursday, February 09, 2006 9:41 AM
To: r-help at stat.math.ethz.ch
Subject: [R] Tranferring R results to word prosessors

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




More information about the R-help mailing list