[R] installing rgl package on linux suse 10.1

R. Villegas villegas.ro at gmail.com
Wed Nov 1 16:48:11 CET 2006


2006/11/1, Steven Gorlé <steven.gorle at telenet.be>:
> Dear R wizards,
>
> In windows I get really cool graphs with the rgl package.
> However on linux, it seems that I can't install one of my favourite packages.
> I get a error message on X11, but all X11 packages are installed on my linux
> desktop.
> Who can help me out here?
>
> Thanks!
>
> Steven Gorlé
>
>
> >install.packages()
>
> * Installing *source* package 'rgl' ...
> checking for gcc... gcc
> 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 accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking for X... no
> configure: error: X11 not found but required, configure aborted.
> ERROR: configuration failed for package 'rgl'
> ** Removing '/usr/lib/R/library/rgl'
>
> The downloaded packages are in
>         /tmp/RtmpUAg2Xh/downloaded_packages
> Warning message:
> installation of package 'rgl' had non-zero exit status in: install.packages()
> >
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>

Hello,
make sure the following packages are installed on suse (YAST):

xorg-x11-libs

Check this tutorial http://www.hellmund.dk/RSUSEGUI.html.

Ro.



More information about the R-help mailing list