[R] problem with rgl package

G. Jay Kerns gkerns at ysu.edu
Tue May 5 12:28:18 CEST 2009


Dear Erin,

On Tue, May 5, 2009 at 5: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:
>
>> install.packages("rgl")
> Warning in install.packages("rgl") :
>  argument 'lib' is missing: using '/usr/local/lib/R/site-library'
> --- Please select a CRAN mirror for use in this session ---
> Loading Tcl/Tk interface ... done
> trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/rgl_0.84.tar.gz'
> Content type 'application/x-gzip' length 1670659 bytes (1.6 Mb)
> opened URL
> ==================================================
> downloaded 1.6 Mb
>
> * Installing *source* package 'rgl' ...
> checking for gcc... gcc -std=gnu99
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc -std=gnu99 accepts -g... yes
> checking for gcc -std=gnu99 option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -std=gnu99 -E
> checking for gcc... (cached) gcc -std=gnu99
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc -std=gnu99 accepts -g... (cached) yes
> checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed
> checking for libpng-config... yes
> configure: using libpng-config
> configure: using libpng dynamic linkage
> 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'
>

I had the same problem a few days ago, and followed the
recommendations of this message:

http://tolstoy.newcastle.edu.au/R/e6/help/09/03/9250.html

which fixed it for me.

HTH,
Jay







***************************************************
G. Jay Kerns, Ph.D.
Associate Professor
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: gkerns at ysu.edu
http://www.cc.ysu.edu/~gjkerns/




More information about the R-help mailing list