[R-SIG-Mac] Lion and X11
simon.urbanek at r-project.org
Sat Jan 28 20:17:57 CET 2012
can you specify more precisely what you're doing? Issuing the code you sent would use Quartz, so apparently you're doing other things that you didn't mention - so can you share those so we can try to reproduce it?
On Jan 27, 2012, at 7:17 PM, Martin Renner wrote:
> 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?
>> plot (1:10)
> *** caught segfault ***
> address 0x0, cause 'memory not mapped'
> 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)
> R version 2.14.1 (2011-12-22)
> Platform: x86_64-apple-darwin11.2.0 (64-bit)
>  en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
> attached base packages:
>  stats graphics grDevices utils datasets methods base
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
More information about the R-SIG-Mac