[R] trouble with plotting

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Dec 9 19:16:01 CET 2001


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")

and accept colour approximation to a 6x6x6 cube.
I don't find this a problem with lattice on an 8-bit display, bu ti also
rarely need it.

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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