[R-SIG-Mac] How to copy line drawings in R MAC

Roland Kaiser roland.kaiser at sbg.ac.at
Mon Mar 16 11:09:44 CET 2009


In my experince AI is a perfect tool to edit/stylise
R ouput. Inkscape is an opensource tool supporting
advanced vector editing.

I would not recommend converting to wmf, it often behaves
unpredictable (fontsizes, font embedding, linewidths, …)!
R creates very consistent pdf and postscript output. To my
experience the best ones I know of! Especially in terms of post
editing. Don't "destroy" it by squeezing it into wmf (emf).

AI will by default embend fonts when saved by the application.
Try to solve warnings about Zapf Dingbats font, if they appear!
For example embed AdobePiStd font.

Note, powerpoint will render pdf files on import. Often graphical
quality is remarkable reduced. A better way is to import a png file.
You can create png from preview.app or AI.

Keynote will not rip pdf to screen resolution and keeps figures
as they come .

Have fun!


> Hi Simon, all,
> thanks for these answers. I did not realize that I could edit pdf
> vector graphics by opening the pdf in Illustrator.
> I used to simply paste wmf vector graphics into Powerpoint and then
> "ungroup" and edit further in Powerpoint. Although Illustrator gives
> the option to export as wmf, in my version this is faulty, and so I
> have to finalize the graphic in Illustrator, because I cannot import
> the graphic as vector into Powerpoint / Keynote. Would you know how
> else (other than Illustrator) to edit vector graphics from Quartz
> output? (All other save-options are raster-based).
> Cheers,
> Olivier
> On 3/13/09, Simon Urbanek <simon.urbanek at r-project.org> wrote:
>> On Mar 13, 2009, at 9:52 AM, Olivier Briet wrote:
>>> Hi Mac R users/developers,
>>> Do you have any tips on how to export graphical outputs in R on a  
>>> Mac
>>> as line drawings, which can be further processed in e.g. Adobe
>>> illustrator or Keynote / Powerpoint?
>>> It seems that Quartz only outputs pdf and grid structured images,
>>> whereas in R Windows, it is possible to copy a graphical output from
>>> the R graphics device as a metafile.
>> PDF supports both vector graphics and bitmaps and is superior to
>> Windows metafiles. Both AI and Keynote can deal with PDF files very
>> well (the former can even edit individual objects in it).
>> Cheers,
>> Simon
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

More information about the R-SIG-Mac mailing list