Skip to content
Prev 29250 / 63424 Next

tiff(), jpeg(), and png() in R 2.7.0: problems if 'units = "in"' but default height and width

Clearly you don't have cairo installed or functional, since the preferred 
versions of these devices do not use X11, and do trap this error.
Error in tiff("a.tiff", units = "in", res = 1200) :
   unable to start device 'tiff'
In addition: Warning message:
In tiff("a.tiff", units = "in", res = 1200) : cairo error 'out of memory'

There is nothing new here (Xlib-based devices would crash with 
insufficient memory 'for ever'), but we will see if we can trap this.
On Mon, 16 Jun 2008, Weigand, Stephen D. wrote: