R-beta: netscape/R interaction [color allocation]

P.S.Craig@durham.ac.uk P.S.Craig at durham.ac.uk
Fri Jun 19 10:20:56 CEST 1998

Peter Dalgaard BSA writes:
> Martin Maechler <maechler at stat.math.ethz.ch> writes:
> > 
> > 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
> >  desired colors)
> > 
> > is to *ALWAYS* use
> > 	netscape -install
> > 	-----------------
> You can also set -ncols to limit Netscape in the number of color cells
> it allocates. 64 is a reasonable value for most purposes.

Note that -ncols is broken in Netscape 4.01, 4.02 and 4.03 and simply
doesn't do anything. I don't know the status of 4.04. We are now
running 4.05 where -ncols works again. To add a little more, -ncols 32
works even better from the point of view of simultaneous use of R,
xdvi and ghostview, although netscape renders images less well
(generally of no impact given the way in which images are (ab)used by
people creating web pages).

Peter Craig
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