[R] pstoedit

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Apr 13 08:05:05 CEST 2005


On Wed, 13 Apr 2005, BORGULYA [iso-8859-2] Gábor wrote:

>    Has onyone experience with "pstoedit" (http://www.pstoedit.net/pstoedit)
> to convert eps graphs generated by R on Linux to Windows formats (WMF or
> EMF)? Does this way work? Is there an other, better way?

You can only do that using pstoedit on Windows.
                                     ^^^^^^^^^^
A much better way on Windows is to run the R code on R for Windows and use 
its win.metafile() device.  Another better way is to use Adobe 
Illustrator.

The ability to generate WMF on Unix is a long-standing wish at

 	http://developer.r-project.org/WindowsTODO.html

but no one has ever contributed a working device (although it would be no 
harder than say the PDF device).

Note that because of font differences, conversion from EPS to WMF can only 
ever be approximate.

>    The fact that the website of pstoedit mentions that a Better Enhanced
> Windows Meta Files (EMF) plugin exists for Windows 9x/NT/2K/XP only makes me
> expect poor quality. Am I right?

No quality at all unless you are using Windows where it is unnecessary.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list