[R] Tranferring R results to word prosessors

Romain Francois francoisromain at free.fr
Thu Feb 9 15:54:27 CET 2006


Le 09.02.2006 15:41, Tom Backer Johnsen a écrit :

>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
>  
>
Hi ,

One way could be to output in html format from R (with the R2HTML 
package) and then read back the html from your word processor

Romain

-- 
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
mixmod 1.7 is released : http://www-math.univ-fcomte.fr/mixmod/index.php
+---------------------------------------------------------------+
| Romain FRANCOIS - http://francoisromain.free.fr               |
| Doctorant INRIA Futurs / EDF                                  |
+---------------------------------------------------------------+




More information about the R-help mailing list