[R-SIG-Mac] rgl segfault

Roger Koenker rkoenker at illinois.edu
Wed May 8 23:27:57 CEST 2013


On May 8, 2013, at 4:16 PM, Simon Urbanek wrote:

> Roger,
> 
> On May 8, 2013, at 4:43 PM, Roger Koenker wrote:
> 
>> Is there some new protocol for installing rgl?  I finally installed R 3.0 today:
>> 
>>> require(rgl)
>> Loading required package: rgl
>>> sessionInfo()
>> R version 3.0.0 (2013-04-03)
>> Platform: x86_64-apple-darwin10.8.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     
>> 
>> other attached packages:
>> [1] rgl_0.93.935
>> 
>> and installed rgl from binaries....  but rgl.open()  yields:
>> 
>>> rgl.open()
>> 
>> *** caught segfault ***
>> address 0xe8, cause 'memory not mapped'
>> 
>> Traceback:
>> 1: .C(rgl_dev_open, success = FALSE)
>> 2: rgl.open()
>> 
> 
> Can you provide more details about your setup? I cannot reproduce it. Both X11 and AGL versions of rgl work for me just fine (CRAN binary, OS X 10.6.8).

Sure, sorry....  here are the further details:
> 
> There are several ways to run rgl, so it would be useful to know
> a) what is your OS X version
 Mac OS X Lion 10.7.5 (11G63)
> b) are you running X11 and if so which one
Yes,  XQuartz 2.6.5 (xorg-server 1.10.6)
> c) if you are not running the X11 version, is this from R.app or Terminal or any other GUI
I was initially running R from the Terminal, but I get the same behavior from an X11 window

Thanks, 
Roger

> 
> Cheers,
> Simon
> 
> 
>> I had an old note to myself suggesting to install from source with:
>> 
>> R  CMD INSTALL --configure-args="--x-includes=/usr/X11/include --x-libraries=/usr/X11/lib" rgl
>> 
>> which I tried too, but it produced the same result when I tried to run demo(rgl).  Any suggestions
>> would be welcome.
>> 
>> Roger
>> 
>> url:    www.econ.uiuc.edu/~roger            Roger Koenker
>> email    rkoenker at uiuc.edu            Department of Economics
>> vox:     217-333-4558                University of Illinois
>> fax:       217-244-6678                Urbana, IL 61801
>> 
>> _______________________________________________
>> 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