Hi R Experts, I'm aware of pdf(), jpeg(),... functions. But, 1. Is it also possible to export graphs directly to word or RTF? I use to copy and paste graphs but resolutions are not so great. 2. Also, is it possible to export your out to word file? I use sink() function to export it text files. Any suggestions, thanks, Wenjie Lee [[alternative HTML version deleted]]
Please read this: On Fri, Dec 11, 2009 at 6:28 PM, Wenjie Lee <wenjieleemaillist@gmail.com>wrote:> Hi R Experts, > > I'm aware of pdf(), jpeg(),... functions. But, > > 1. Is it also possible to export graphs directly to word or RTF? I use to > copy and paste graphs but resolutions are not so great. > > 2. Also, is it possible to export your statistical (regression, etc...) > output to word file? I use sink() function to export it text files. > > Any suggestions, thanks, > > Wenjie Lee >[[alternative HTML version deleted]]
Wenjie Lee wrote:> > Hi R Experts, > > I'm aware of pdf(), jpeg(),... functions. But, > > 1. Is it also possible to export graphs directly to word or RTF? I use to > copy and paste graphs but resolutions are not so great. > > 2. Also, is it possible to export your out to word file? I use sink() > function to export it text files. > > Any suggestions, thanks, > > Wenjie Lee > >I haven't used it myself, but the odfWeave package may be of some use: http://cran.r-project.org/web/packages/odfWeave/index.html If it provides similar functionality to Sweave, then you should be able to: - embed R code chunks in an OpenOffice document - process that document with R - end up with a document containing figures and other results of the R analysis I use Sweave, which outputs to LaTeX, all the time-- combining my computations and report in the same document is incredibly nice. Hope this helps! -Charlie -- View this message in context: http://n4.nabble.com/Export-R-output-to-Word-RTF-tp961522p961532.html Sent from the R help mailing list archive at Nabble.com.
At 6:28 PM -0500 12/11/09, Wenjie Lee wrote:>Hi R Experts, > >I'm aware of pdf(), jpeg(),... functions. But, > >1. Is it also possible to export graphs directly to word or RTF? I use to >copy and paste graphs but resolutions are not so great.I save graphs as png files, then use Word's Insert Picture (or equivalent) command. (Don't know what you mean by "directly")>2. Also, is it possible to export your out to word file? I use sink() >function to export it text files.I think you can export it to a text file whose name ends with ".doc". Then Word will (should?) open it if you double-click on it.> >Any suggestions, thanks, > >Wenjie Lee > > [[alternative HTML version deleted]] > >______________________________________________ >R-help at r-project.org 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.-- -------------------------------------- Don MacQueen Environmental Protection Department Lawrence Livermore National Laboratory Livermore, CA, USA 925-423-1062