[R] X11/ graphics problem

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Nov 19 16:13:57 CET 2003

Did you build from sources or install an RPM?

If the former, you probably do not have the X11 development files
installed.  Something like XFree86-devel-4.2.0-72 (from RH8.0).  (My guess
is that you do have XFree86-libs.)

rm config.cache and reconfigure and rebuild after installation.

On Wed, 19 Nov 2003, Stephen Henderson wrote:

> Hello
> I'm moving from using R 1.8 for Windows to using Linux (Redhat version 9)
> and I cannot get any graphics. However everything else maths, models
> equations is fine-- and much quicker. I built from the source file following
> the commands in the install manual.
> >plot(1:10, 1:10)
> does nothing! So clearly I have a problem with X Windows.

It plots on Rplots.ps, not nothing.

> > capabilities()
>     jpeg      png    tcltk      X11    GNOME     libz http/ftp  sockets
>   libxml     fifo   cledit  IEEE754    bzip2     PCRE
>     TRUE     TRUE     TRUE     TRUE     TRUE     TRUE
> I'm guessing from manuals etc that X11 is the problem. I've tried starting R
> with
> R --gui='X11'
> but to no avail!
> I've also had a look at the requirements under R/bin/linux/redhat/9/i386--
> but I'm having some trouble mapping these to the gui installation names,
> though Xfree86 which I presume contains libX11.so.6 is installed. This
> document also mentions preference for 'gnorpm'. Whats that?
> Has anyone else had this problem? have an idea what is likely missing? or
> how to reconfigure R?

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list