[R-SIG-Mac] Cairo / X11 problem in Mavericks

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Oct 27 22:37:33 CET 2013


On 27/10/2013 19:45, Jeroen Ooms wrote:
> I just upgraded my macbook to maverick and i'm running into an old problem.
> When I do:
>
> png(tempfile(), type="cairo")
>
> or
>
> svg(tempfile())
>
> or even:
>
> library(Cairo)
>
> R exists with a warning that X11 is required. I also tried:
>
> options(bitmapType = 'cairo')
> png(tempfile())
>
> but same result. If I recall correctly this was not the case in OSX 10.8.

It was.  You need to re-install XQuartz after an update.  See the 
R-admin manual.


> Is there any way to use png() or svg() on Mavericks without installing
> xquartz?

png() yes: use the quartz-based device.

>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>


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