[R-SIG-Mac] Lion and X11
Kasper Daniel Hansen
kasperdanielhansen at gmail.com
Sat Jan 28 18:06:06 CET 2012
For what it is worth I don't see this problem on Snow Leopard, self-compiled.
You can make quartz the default device by putting
Sys.setenv("R_INTERACTIVE_DEVICE" = "quartz")
in your .Rprofile.
Kasper
On Fri, Jan 27, 2012 at 7:17 PM, Martin Renner <greatauklet at gmail.com> 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?
>
> 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
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list