[R] trouble with plotting

Robert Espesser Robert.Espesser at lpl.univ-aix.fr
Mon Dec 10 14:19:20 CET 2001


Jason Turner wrote:
> 
> On Sun, Dec 09, 2001 at 06:16:01PM +0000, Prof Brian Ripley wrote:
> > On Sun, 9 Dec 2001, Jeff D. Hamann wrote:
> >
> > > I'm trying to use the lattice package (and have run into the message before)
> > > where I will get the following when trying to plot....
> > >
> > > Error in clearpage() : Error: X11 cannot allocate additional graphics
> > > colors.
> > > Consider using X11 with colortype="pseudo.cube" or "gray".
> > >
> > > What do I need to do to get rid of this so that I can use the graphics
> > > libraries to their fullest potential. Currently, I can't get lattice() to
> > > work.
> >
> > EITHER
> >
> > 1) Buy a display that uses 24-bit colour, or set your Xserver to make use
> > of one if you have it.
> >
> > OR
> >
> > 2) Shutdown all R graphics devices, then launch
> >
> > X11(colortype="pseudo.cube")
> >
> 
> Or....
> 
> Shut down Netscape, The Gimp, your desktop backgrounds, Gnome (if you're
> using it), and anything else that shows colour pictures, and try again.
> ;)
> 
> Your colours for X have been sucked dry.
> 
> I'm not an X programmer at all, so this might be a dumb question.  Netscape
> for Un*x has the option of using a private colour map ("netscape -install",
> IIRC).  With this, the colours go very psychadelic on other apps when
> netscape has the focus, and vice-versa, but netscape gets all the colours
> it needs.  
This may be  very tiring for eyes.

Or ...
Because netscape is very "color-consuming", you may run netscape as:
 netscape -ncols 128
which allows 128 colors at most for netscape. (see netscape -help)


-- 
Robert Espesser     
Laboratoire Parole et Langage  ESA 6057, CNRS
29 Av. Robert Schuman  13621 AIX    (FRANCE)
Tel: +33 (0)4 42 95 36 26   Fax: +33 (0)4 42 59 50 96
http://www.lpl.univ-aix.fr/~espesser
mailto:Robert.Espesser at lpl.univ-aix.fr
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list