[R] Creating publication-quality plots for use in Microsoft Word

Max Kuhn mxkuhn at gmail.com
Wed Sep 15 18:31:34 CEST 2010


You might want to check out the Reproducible Research task view:

   http://cran.r-project.org/web/views/ReproducibleResearch.html

There is a section on Microsoft formats, as well as other formats that
can be converted.

Max



On Wed, Sep 15, 2010 at 11:49 AM, Thomas Lumley
<tlumley at u.washington.edu> wrote:
> On Wed, 15 Sep 2010, dadrivr wrote:
>
>>
>> Thanks for your help, guys.  I'm looking to produce a high-quality plot
>> (no
>> jagged lines or other distortions) with a filetype that is accepted by
>> Microsoft Word on a PC and that most journals will accept.  That's why I'd
>> prefer to stick with JPEG, TIFF, PNG, or the like.  I'm not sure EPS would
>> fly.
>
> One simple approach, which I use when I have to create graphics for MS
> Office while on a non-Windows platform is to use PNG and set the resolution
> and file size large enough.  At 300dpi or so the physics of ink on paper
> does all the antialiasing you need.
>
> Work out how big you want the graph to be, and use PNG with enough pixels to
> get at least 300dpi at that final size. You'll need to set the pointsize
> argument and it will help to set the resolution argument.
>
>     -thomas
>
> Thomas Lumley
> Professor of Biostatistics
> University of Washington, Seattle
>
> ______________________________________________
> 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.
>



-- 

Max



More information about the R-help mailing list