[R] OT: PSTOWMF

Friedrich Leisch Friedrich.Leisch at ci.tuwien.ac.at
Fri Aug 20 17:15:03 CEST 1999


>>>>> On Fri, 20 Aug 1999 16:03:25 +0100 (BST),
>>>>> Prof Brian Ripley (PBR) wrote:

>> Date: Thu, 19 Aug 1999 14:42:53 +0200 (CEST)
>> From: Peter Malewski <peter at tu-bs.de>
>> To: r-help at stat.math.ethz.ch
>> Subject: [R] OT: PSTOWMF
>> 
>> Hallo,
>> I've produced via R-0.62 several Life-tables 50*6 (mfrow=c(2,3))
>> as postscriptgraphs. The phd student, who asked for this, use word for
>> windows--therefore i converted the whole stuff with pstoimg to gifs.
>> Unlikly the result is not sufficient (I was told)...
>> 
>> Is there a tool to convert ps to wmf/emf ? I looked for it but haven't
>> found anything...

PBR> It cannot be done. PostScript is a fully fledged programming language,
PBR> and wmf/emf is a low-level description. Quarts don't fit into pint pots!

PBR> The obvious answer (to me) is to use R for Windows 0.64.2 to print the
PBR> plots as extended metafiles (which means recomputing them unless you
PBR> keep the .RData, and for such an old version of R that it is
PBR> compatible).

Another possible way (though never 1:1, see above) is to load the
postscript file into a windows program that can import it and then
re-export it to WMF or use the clipboard. CorelDraw did a reasonable
job for many of my graphics. Of course it's a lot of point&click
... but what do you expect in windows ...


fritz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list