[R-SIG-Mac] How to put nice R graphics into powerpoint
Simon Urbanek
simon.urbanek at r-project.org
Thu Feb 10 19:52:10 CET 2005
On Feb 10, 2005, at 1:04 PM, Dan Putler wrote:
> My guess is the supported vector format is Windows enhanced meta file,
> which R for Windows will produce. Unfortunately, Microsoft Office is
> the
> one thing most of us can't get away from, try as we might. As a result,
> an argument could be made to have a device for this format on the Mac
> side if the Windows code could easily be ported.
Unfortunately it cannot be easily ported, because creating WMF in Win
is trivial - Windows generates it for you (more precisely you draw the
same way as if it was screen or printer - actually the same way you get
PDF on a Mac ;)). Since it's Windows creating the WMF and not R, you
cannot port it unless you implement what Windows does...
I was looking into generating WMF from scratch long time ago and at
that time there was no (non-commercial) library for writing WMF files.
At that point libwmf was strictly read-only and I didn't check whether
they added write-support which was planned for the future .. [btw: I'm
using WMF here in the sense of both EMF and WMF]. If no one else
tackles this and I have a spare minute, I 'll have a look if we can
cook anything out of that ...
Cheers,
Simon
More information about the R-SIG-Mac
mailing list