Hello, The journal I am publishing in requires MS Word files. What is my best option for getting a high quality image of a graph done in R into Word? JPEG? Postscript? Thanks. -- View this message in context: http://www.nabble.com/R-graph-into-MS-Word%3A-which-format-to-use--tp23133745p23133745.html Sent from the R help mailing list archive at Nabble.com.
jjh21 wrote:> Hello, > > The journal I am publishing in requires MS Word files. What is my best > option for getting a high quality image of a graph done in R into Word? > JPEG? Postscript?Windows metafile, if you are under Windows anyway. Uwe Ligges> > Thanks.
I actually get superior results from creating a pdf, opening it in adobe acrobat, adjust the image size so it is big as possible with the screen, then copying it into word (by using the little square capture icon). HTH, Simon. ----- Original Message ----- From: "jjh21" <jjharden at gmail.com> To: <r-help at r-project.org> Sent: Monday, April 20, 2009 11:01 AM Subject: [R] R graph into MS Word: which format to use?> > Hello, > > The journal I am publishing in requires MS Word files. What is my best > option for getting a high quality image of a graph done in R into Word? > JPEG? Postscript? > > Thanks. > -- > View this message in context: > http://www.nabble.com/R-graph-into-MS-Word%3A-which-format-to-use--tp23133745p23133745.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >
On Mon, 20 Apr 2009 03:01:42 -0700 (PDT) jjh21 <jjharden at gmail.com> wrote: J> The journal I am publishing in requires MS Word files. What is my J> best option for getting a high quality image of a graph done in R J> into Word? JPEG? Postscript? I use png or eps. The latter has the better output but in old Word versions you don't get WYSIWIG - only pdf conversion or printing with a postscript printer reveals the true figure. But maybe I just have missed an option. hth Stefan
Use wmf format. That's a vector format rather than bitmapped so it will give better quality. Also you will be able to edit the image right in Word, e.g. change axis labels. On Mon, Apr 20, 2009 at 6:01 AM, jjh21 <jjharden at gmail.com> wrote:> > Hello, > > The journal I am publishing in requires MS Word files. What is my best > option for getting a high quality image of a graph done in R into Word? > JPEG? Postscript? > > Thanks. > -- > View this message in context: http://www.nabble.com/R-graph-into-MS-Word%3A-which-format-to-use--tp23133745p23133745.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >
Word can be memory hungry when using graphics. Another alternative is the metafile which is very compact and can give good results eg from the example win.metafile("Rplot%02d.wmf", pointsize = 10) Regards Duncan Mackay Department of Agronomy & Soil Science University of New England ARMIDALE NSW 2351 Email home: mackay@northnet.com.au At 20:01 20/04/2009, you wrote:>Hello, > >The journal I am publishing in requires MS Word files. What is my best >option for getting a high quality image of a graph done in R into Word? >JPEG? Postscript? > >Thanks. >-- >View this message in context: >http://www.nabble.com/R-graph-into-MS-Word%3A-which-format-to-use--tp23133745p23133745.html >Sent from the R help mailing list archive at Nabble.com. > >______________________________________________ >R-help@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.[[alternative HTML version deleted]]
jjh21 wrote:> Hello, > > The journal I am publishing in requires MS Word files. What is my best > option for getting a high quality image of a graph done in R into Word? > JPEG? Postscript? > > Thanks.Double check the instructions for authors. Most journals take pdf and eps as separate files. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University
Uwe Ligges <ligges <at> statistik.tu-dortmund.de> writes:> > The journal I am publishing in requires MS Word files. What is my best > > option for getting a high quality image of a graph done in R into Word? > > JPEG? Postscript? > > Windows metafile, if you are under Windows anyway.But make sure that clipped data are really clipped and do not magically appear in the next panel. Some years ago, this cost me a client. Dieter
They may stipulate word files for the manuscript, but during submission, journals usually request EPS or PDF formats. In fact, all I've dealt with stipulate NEVER include graphcis into a Word document. May be worth checking again! Mark 2009/4/20 jjh21 <jjharden at gmail.com>:> > Hello, > > The journal I am publishing in requires MS Word files. What is my best > option for getting a high quality image of a graph done in R into Word? > JPEG? Postscript? > > Thanks. > -- > View this message in context: http://www.nabble.com/R-graph-into-MS-Word%3A-which-format-to-use--tp23133745p23133745.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. > >-- Dr. Mark Wardle Specialist registrar, Neurology Cardiff, UK