[Rd] col=0

Prof Brian D Ripley ripley@stats.ox.ac.uk
Tue, 25 Sep 2001 07:42:20 +0100 (BST)


On Mon, 24 Sep 2001, Paul Gilbert wrote:

> In R-devel I am getting an error with col=0 in a call to box, buried
> somewhere in some tests. I have not yet explored far enough to know why
> col=0 is being set, but I think it has to do with the box outline being
> invisible. col=0 does not seem to be allowed in R-devel, whereas the
> code works in R-1.3.1.  This may be R-devel pointing out an error in my
> code that was not caught by R-1.3.1 or previously, or it may be a
> feature change (although I did not see it in the documentation), or it
> may be an error in R-devel. If anyone immediately recognizes the
> problem/change I would appreciate tips. Otherwise I will check further
> when I have a chance.

col=0 is background AFAIK, and the default for background has been changed
to be "transparent" for most devices.  That *is* in NEWS.

So plotting with col=0 under that default makes no sense, although I
believe it still works.  The example for box does with col=0 ....

-- 
Brian D. Ripley,                  ripley@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-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._