R-beta: netscape/R interaction [color allocation]
maechler at stat.math.ethz.ch
Thu Jun 18 20:03:56 CEST 1998
Our solution to the famous "Color allocation error"
(not only appearing in R;
S-plus e.g., uses black & white color scheme when it can't allocate the
is to *ALWAYS* use
(installs its own color map); this might be ugly but is working always,
contrary to ==
which remedies the problem also in some circumstances, but not in all.
[[The ``best'' solution would be to switch to an environment with
16 or 24 bit colors ((eg. Linux / Intel)) ....]]
PS: I agree that it would be nicer if R dealt more gracefully with this
problem. Ideally, the x11() driver would try to find ``close colors in
the given color map'' as soon as it can't allocate new colors.
Not that I knew anything on how this could be programmed....
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