Re: [R] Making TIFF images with rtiff

From: Stephen D. Weigand <>
Date: Fri 12 Jan 2007 - 04:25:04 GMT


On Jan 11, 2007, at 9:33 PM, Inman, Brant A. M.D. wrote:

> Many medical journals and publishers require that images, whether
> photographs or line art, be submitted as high resolution .TIFF images.
> One option for R users is to produce an image in one format and to
> convert it to a .TIFF file using a second software program. My
> experience has been that this option often results in images of poorer
> quality, often with blurry contours, and a loss of resolution. A
> second
> and better option would be to make .TIFF files directly from the
> graphic
> output of R.


Have you tried bitmap()?. You might need to install ghostscript before it works on your system but the results are super.

I use

bitmap(blah, type = "png256", res = 1200)

to make *.png files which are small and can be inserted in to an MS Word manuscript for review.

When a TIFF is needed by the journal,

bitmap(blah, type = "tifflzw", res = 1200)

will do the trick. (If a color plot is being created, you can use something like type = "tiff24nc". The color files are huge but can be zipped to something reasonable.)

Hope this helps,

Rochester, Minnesota, USA mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri Jan 12 15:32:45 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 12 Jan 2007 - 05:30:26 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.