[R-SIG-Mac] Lion and X11

Martin Renner greatauklet at gmail.com
Sat Jan 28 01:17:22 CET 2012


Hi All,

Is anybody else experiencing problems with X11 and R under Mac OS X 10.7 (Lion)? If yes, maybe it's not specific to my machine. R segfaults when I try to plot to a X11 device, e.g. open R in the terminal and calling   
> plot (1:10)
(see below). Plotting to a quartz device works fine. I'm using R-2.14.1 (see below), compiled from source using homebrew. I've seen the same issue with the CRAN binaries, with a vanilla compile from source of R-2.14.1 and even with an old R-2.9.2. 

I wonder whether I'd have to wait for a fix from Apple, or whether there's a work-around like something that can be done during configuration? 

Cheers,
Martin



> plot (1:10)

 *** caught segfault ***
address 0x0, cause 'memory not mapped'

Traceback:
 1: axis(side = side, at = at, labels = labels, ...)
 2: Axis.default(...)
 3: Axis(...)
 4: localAxis(if (is.null(y)) xy$x else x, side = 1, ...)
 5: plot.default(1:10)
 6: plot(1:10)



> sessionInfo()
R version 2.14.1 (2011-12-22)
Platform: x86_64-apple-darwin11.2.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     
> 



More information about the R-SIG-Mac mailing list