[R] success with R-unix postscript plots into Mac?

Matthew R. Nelson mrn at supermta.hg.med.umich.edu
Mon Jul 26 18:57:26 CEST 1999


Tony,

I have had very good success with ImageMagick which can convert nearly
any image format into nearly any other image format.  It has a GPL-like
lisence and is available for nearly any platform at

http://www.wizards.dupont.com/cristy/ImageMagick.html

The source code and binaries are available here or at your favorite Linux
download sites.  

>From the command line, converting from postscript to jpg is as easy as
# convert plot.ps plot.jpg

Resolution can be improved by arguements like
# convert -density 288 -geometry 25% plot.ps plot.gif

which essentially says to put more information into a smaller region.

Additionally, there are all kinds of wrappers for the ImageMagick
libraries, including Perl, Python, and C/C++.

Regards,

Matt

On Mon, 26 Jul 1999, you wrote:
>Has anyone had success getting R-unix postscript plots into powerpoint
>for the Mac?  Mac powerpoint doesn't seem to like postscript, and
>conversions to tiff, jpeg, and gif, using the netpbm converters, have
>produced less than stellar results (i.e. bitmaps with unaliases
>pixels, sigh...).
>
>Thoughts?  The next one I had was to use GIMP (this is a linux system) 
>to clean it up, and it worked, but it seems like overkill, so I'm
>looking for a simpler solution.
>
>best,
>-tony
----------------------------------------------------------------------------
Matthew R. Nelson
Dept. of Human Genetics             http://www-personal.umich.edu/~ticul/
University of Michigan              email: ticul at umich.edu
4711 Medical Science II             phone: (734) 763-8090 or 647-3151
Ann Arbor, MI  48109-0618           fax:   (734) 763-5477
----------------------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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