[R-SIG-Mac] image() to Rplot.pdf
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Jan 20 17:30:53 CET 2009
On Tue, 20 Jan 2009, Paul J. Ossenbruggen wrote:
> Hi Simon,
> Thank you for the information about the R image rendering issue in
> Preview and Acrobat. I am happy to learn that my problem is not
> related to R and Quartz.
> As you suggested, I zoomed in and out with Preview but the white
> lines did not disappear entirely. However, this is OK for the type of
> analysis that I have performed.
> The real problem that I have is converting it to a tiff file. I must
Why? R has several tiff() devices, so why are you shunning them?
> submit a tiff file to the journal where the image will be published.
> When I use Preview for conversion,
Not a good idea. Use ghostscript if you must, via bitmap() (and make
sure antialiasing is off there).
> the image looks like a Scottish plaid. The white lines are there but
> they look they are part of the plaid.
Hmm, what is 'Scottish' about it?
> Acrobat, on the other hand, is totally unacceptable. The image
> shading disappears entirely and a series of dots appear within the map
> boundary. The legends have no shading what so ever, thus converting it
> to a tiff file won't work. I have successfully use this method for
> transforming color R images in pdf to tiff.
> Question: Is it possible to export or convert a R image directly to a
> tiff file without going Preview?
> Thank you,
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-SIG-Mac