Skip to content

Cairo bitmap output should work without X11 dependency (PR#12529)

1 message · Brian Ripley

#
On Thu, 7 Aug 2008, cruff at ucar.edu wrote:

            
The help for png() actually says

   \R can be compiled without support for each of these devices: this
   will be reported if you attempt to use them on a system where they are
   not supported.  For \code{type = "Xlib"} they may not be usable unless
   the X11 display is available to the owner of the \R process.
   \code{type = "cairo"} requires cairo 1.2 or later.

You have apparently compiled R without support for the cairo device. 
Systems with cairo but not X11 libraries are rarer than hens' teeth and 
systems on which X11 could not be installed yet cairo/pango etc have been 
are even rarer (and the chances that they have an adequate set of fonts 
are miniscule).  It is not credible that Irix is such an OS.

Note that X11 support is under 'Essential programs', whereas cairo is 
under 'Useful libraries'.  If you choose to omit something 'essential' 
expect not to be able to use something merely 'useful'.