[R] Installing rgl

ilai keren at math.montana.edu
Wed Feb 22 20:02:46 CET 2012


On Wed, Feb 22, 2012 at 3:23 AM, aoife <aoife.m.doherty at gmail.com> wrote:
> Hey guys,I'm working with R version 2.14.1 (2011-12-22) on a unix machine

You may be missing some openGL libraries (mesa ? )
On Ubuntu, this solved my problem of installing rgl:
sudo apt-get build-dep r-cran-rgl

Can't vouch for any future complications with rendering in other
applications...so as always, use at your own risk.
Hope this helps

Elai



and
> I'm having a similar problem. I have a matrix and i want to do a simple
> correspondance analysis. I tried to install the ca package i get this error:
>
>> library(ca)
> Loading required package: rgl
> Warning messages:
> 1: In rgl.init(initValue) : RGL: no suitable visual available
> 2: In fun(libname, pkgname) : error in rgl_init
>>
>
> so then i downloaded rgl, at the end of the installation process for rgl it
> says:
>
> Warning messages:
> 1: In rgl.init(initValue) : RGL: no suitable visual available
> 2: In fun(libname, pkgname) : error in rgl_init
>
>
> and when you look in the library for rgl you get:
>> library(rgl)
>>
>
>
> Would anyone know (in simple language, i'm a biologist, not a statistician
> :( ) either how to fix this, or an alternative package that will do a simple
> correpondance analysis on a matrix?
>
> Many thanks
> Aoife
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Installing-rgl-tp865867p4409845.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list