[R] Can I disable Cairo?

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jun 20 15:21:54 CEST 2011


See the help page!

     type: character string, one of ‘"Xlib"’ or ‘"quartz"’ (some Mac OS
           X builds) or ‘"cairo"’.  The latter will only be available if
           the system was compiled with support for cairo - otherwise
           ‘"Xlib"’ will be used.  The default is set by
           ‘getOption("bitmapType")’ - the ‘out of the box’ default is
           ‘"quartz"’ or ‘"cairo"’ where available, otherwise ‘"Xlib"’.

On Mon, 20 Jun 2011, Mario Valle wrote:

> On Linux 2.13 by default links cairo, so png() uses it for rendering.
> One of my users has performance problem, so ask if it possible to temporary 
> disable cairo during png() rendering so it reverts to grGraphics.

Whatever that is ... Xlib perhaps?

> My workaround for now is to configure R without cairo, but this affects all 
> users that are forced to load and use CairoDevice if they wants better 
> quality.
> I want to avoid this, is it possible?

> Thanks!
>                            mario
>
> -- 
> Ing. Mario Valle
> Data Analysis and Visualization Group            | http://www.cscs.ch/~mvalle
> Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
> v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82

-- 
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-help mailing list