[R] problem with rgl package
erinm.hodgess at gmail.com
Tue May 5 12:15:47 CEST 2009
I also needed libglu1-mesa-dev, but now all is well.
thanks for the help!
On Tue, May 5, 2009 at 5:07 AM, Barry Rowlingson
<b.rowlingson at lancaster.ac.uk> wrote:
> On Tue, May 5, 2009 at 10:55 AM, Erin Hodgess <erinm.hodgess at gmail.com> wrote:
>> Dear R People:
>> Here is something strange. I'm using Ubuntu 9.04 with R 2.9.0.
>> I need to have the rgl package. Here are my results from installing:
>> Warning in install.packages("rgl") :
>> checking for X... no
>> configure: error: X11 not found but required, configure aborted.
>> ERROR: configuration failed for package 'rgl'
>> ** Removing '/usr/local/lib/R/site-library/rgl'
>> So presumably there is not an X11. But when I put in "capabilities",
>> it seems to be there.
> R will have X11 capabilities if you have the X11 _binary_ library
> installed. To compile a package from source that needs to link with
> the X11 library you need the development headers. They come in another
> From the command line, do:
> sudo apt-get install libx11-dev
> and that should pull them from the Ubuntu repository. You'll need the
> root password for this.
> It's possible you may need some other development headers once you
> get past the X11 problem!
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
More information about the R-help