[R] trouble with plotting

Jason Turner jasont at indigoindustrial.co.nz
Mon Dec 10 10:02:37 CET 2001


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.  Is this possible under R?  If not, has anyone considered it?
It seems like yesteryear's problem, as hardware gets cheaper, but
I'm curious.

Needless to say, (1) above is the prefed option, but sometimes I have
to work on a clunky laptop with an LCD screen that's so old, it's
coal-fired.  Gives me something to wish for next fiscal year....  ;)

Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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