[R] Output and Word

Neuro LeSuperHéros neuro3000 at hotmail.com
Tue Jul 18 14:48:18 CEST 2006


R can handle as many graphs/table as you ask it to.

I don't know what you're trying to do, but I generate lots of graphs using 
loops and generating filenames on the spot.

See FAQ 7.34 to see how it's done.
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-save-the-result-of-each-iteration-in-a-loop-into-a-separate-file_003f

For graphs, save the graphs as something windows can recognize (jpeg, png, 
emf, wmf...) and in Word, you can easily import all the graphs in a 
directory by doing Insert/Picture/From File and shift-click all the graphs 
you want.  Word will import them all.

For tables, it really depends on what you want because usually there is 
formatting involved.  Personnaly, if I had to produce several tables to be 
imported in Word, I would use the R2HTML library in a loop (as mentionned 
above) and import the multiple html files using Insert/File (and 
shift-click) in Word.

Neuro

>From: "sharon snowdon" <sharonsnowdon at fastmail.fm>
>Reply-To: sharonsnowdon at fastmail.fm
>To: <r-help at stat.math.ethz.ch>
>Subject: [R] Output and Word
>Date: Tue, 18 Jul 2006 06:35:38 +1000
>
>Hi
>
>I have just started to have a look at R. I have used most stats software
>packages and can use perl, visual basic etc. I am interested in how well
>it handles lots of output e.g. tables or charts. How would you get lots
>of output most easily and quickly into a Word document?
>
>Sharon Snowdon
>
>
>
>------------------------------------------------------------------------
>-
>FIGHT BACK AGAINST SPAM!
>Download Spam Inspector, the Award Winning Anti-Spam Filter
>http://mail.giantcompany.com
>
>
>
>--
>
>
>
>7/14/2006
>
>______________________________________________
>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



>From: "sharon snowdon" <sharonsnowdon at fastmail.fm>
>Reply-To: sharonsnowdon at fastmail.fm
>To: <r-help at stat.math.ethz.ch>
>Subject: [R] Output and Word
>Date: Tue, 18 Jul 2006 06:35:38 +1000
>
>Hi
>
>I have just started to have a look at R. I have used most stats software
>packages and can use perl, visual basic etc. I am interested in how well
>it handles lots of output e.g. tables or charts. How would you get lots
>of output most easily and quickly into a Word document?
>
>Sharon Snowdon
>
>
>
>------------------------------------------------------------------------
>-
>FIGHT BACK AGAINST SPAM!
>Download Spam Inspector, the Award Winning Anti-Spam Filter
>http://mail.giantcompany.com
>
>
>
>--
>
>
>
>7/14/2006
>
>______________________________________________
>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