[R] Can't load rgl library

Thomas Schönhoff tom_woody at swissinfo.org
Thu Sep 30 19:15:32 CEST 2004


Hello,

arv at ono.com schrieb:
> Hi,
> 
> I've installed rgl package through R CMD INSTALL on a Debian-Sarge machine
> (PIV) without any compiling error (see attached file), but when trying to
> load this package within R (and also Rcmdr library) I get:
> 
> 
>>library(rgl)
> 
> RGL: GLX extension missing on server
> Error in firstlib(which.lib.loc, package) :
> error rgl_init
> error in library(rgl) : .First.lib failed
> Segmentation fault
> 
> Same failure problem if I use the apt option (apt-get install r-cran-gl).
> I've searched through the R mail archives but couldn't find or understand
> the answer for this problem.

I just forgot to say that you also could try to rename /usr/share/tls 
(IIRC, its tls directory!) to /usr/share/tls_old and re-try loading the 
package.
Maybe default installation doesn't recognize the working drivers, 
especially if you run NVidia driver on your box!

HtH




More information about the R-help mailing list