[R-sig-Debian] Problems with CRAN package rgl

Steffen Möller steffen_moeller at gmx.de
Thu Nov 18 12:05:29 CET 2010


On 11/17/2010 10:15 PM, Dirk Eddelbuettel wrote:
> 
> On 17 November 2010 at 17:48, Kjetil brinchmann Halvorsen wrote:
> | sorry, forgot the following:
> | 
> | > sessionInfo()
> | R version 2.12.0 (2010-10-15)
> | Platform: x86_64-unknown-linux-gnu (64-bit)
> | 
> | locale:
> |  [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
> |  [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
> |  [5] LC_MONETARY=C             LC_MESSAGES=en_US.utf8
> |  [7] LC_PAPER=en_US.utf8       LC_NAME=C
> |  [9] LC_ADDRESS=C              LC_TELEPHONE=C
> | [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C
> | 
> | attached base packages:
> | [1] splines   stats     graphics  grDevices utils     datasets  methods
> | [8] base
> | 
> | other attached packages:
> |  [1] catspec_0.95         anacor_1.0-1         car_2.0-6
> |  [4] survival_2.35-8      nnet_7.3-1           MASS_7.3-8
> |  [7] colorspace_1.0-1     fda_2.2.5            zoo_1.6-4
> | [10] scatterplot3d_0.3-31 rgl_0.92.794
> | 
> | loaded via a namespace (and not attached):
> | [1] fortunes_1.4-0  grid_2.12.0     lattice_0.19-13 tools_2.12.0
> | >
> | 
> | kjetil
> | 
> | On Wed, Nov 17, 2010 at 17:25, Kjetil brinchmann Halvorsen
> | <kjetil1001 at gmail.com> wrote:
> | > Hola!
> | >
> | > I am on debian squeeze, R-2.12.0 compiled from source running fine.
> 
> Why?  CRAN has prebuild current binaries.
> 
> | > I have installed rgl from source, installation proceeds without any messages,
> 
> Why? We have a prebuilt binary package.
> 
> | > but trying to load it with
> | > library(rgl)
> | > I get:
> | > Warning messages:
> | > 1: In rgl.init(initValue) : RGL: GLX extension missing on server
> | > 2: In fun(...) : error in rgl_init
> | >
> | > What is missing?
> 
> Google for the error message. Your graphocs card is not configured for GL
> making the whole point of rgl a little ... difficult.

This would be one possibility, indeed. Though X has become rather sophisticated
about auto-detecting GL which would make we wonder a bit. I presume that
some library is missing.

Is the game neverball working for you? Does that install libgl1-mesa-glx | libgl1
or is it allready installed? What about BALLview, does that start?

Please give those programs a try and if they work then try rgl again. If the
error persists then this will certainly cause some head scratching. If not,
then the dependencies are incomplete.

Best,

Steffen



More information about the R-SIG-Debian mailing list