Re: [R] Output and Word

From: Neuro LeSuperHéros <neuro3000_at_hotmail.com>
Date: Tue 18 Jul 2006 - 22:48:18 EST


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@fastmail.fm>
>Reply-To: sharonsnowdon@fastmail.fm
>To: <r-help@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@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@fastmail.fm>
>Reply-To: sharonsnowdon@fastmail.fm
>To: <r-help@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@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@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 and provide commented, minimal, self-contained, reproducible code. Received on Tue Jul 18 22:53:28 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 19 Jul 2006 - 00:20:54 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.