[R] X11 not available

Marc Schwartz MSchwartz at medanalytics.com
Sun Sep 7 03:44:25 CEST 2003


On Sat, 2003-09-06 at 17:52, Jose Quesada wrote:
> Hi All,
> 
> After compiling R-1.7.1 on a P4 running a default install of redHat 9 
> (which of course has X11), I get the following error:
> > x11()
> Error in x11() : X11 is not available
> 
> This is surprising, because in ./configure I gave:
> 
> ./configure \
> --enable-R-shlib \
> --with-x \
> --with-lapack \
> --with-gnome
> 
> Any idea why this is happening? It also occurs if i install the rpm from 
> CRAN...
> Thanks a lot in advance,
> -Jose


Jose,

Make sure that you have installed the XFree86 Development RPM from the
RH CDs.

Open a console and type:

rpm -qa | grep XFree86-devel

You should get:

XFree86-devel-4.3.0-2

If you do not, you will need to install the XFree86 development RPM from
the RH CD's or remove the version of R you compiled and re-install using
the pre-compiled RPM that Martyn has on CRAN.

In order to compile the application from source, you need the 'devel'
libraries and headers installed on your system.

HTH,

Marc Schwartz




More information about the R-help mailing list