R-alpha: Image: Graphics on X11: color allocation error

Martin Maechler (maechler@stat.math.ethz.ch)
Mon, 2 Dec 96 14:30:38 +0100


Date: Mon, 2 Dec 96 14:30:38 +0100
Message-Id: <9612021330.AA07500@>
From: Martin Maechler <maechler@stat.math.ethz.ch>
To: R-testers@stat.math.ethz.ch
Subject: R-alpha: Image: Graphics on X11:	color allocation error

Try the following

> source(system.file("demos/graphics", "image"))

The first  (greenish) is drawn nicely,
during the drawing of the 2nd image, I get :

Error: color allocation error
-----------------------------

Somehow  R should be more 'bossy' about re-allocating colors
(other X11 utilities do this also...)

It is on an Sparc 5, using the standard (8-bit color) 'framebuffer'
 (``graphic card'') called "cgsix".

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-