Skip to content
Prev 12624 / 63461 Next

points(*, pch=NA) does *not* not draw the point (PR#6876)


        
BDR> On Wed, 12 May 2004, Martin Maechler wrote:
...... 

    >> There's one remaining design decision:
    >> 
    >> At the moment I'd go to allow 'logical' and coerce that
    >> to integer (as in many other S code places).
    >> Alternatively, more strict behavior would only allow NA
    >> logicals and give an error for TRUE or FALSE entries in
    >> pch vectors.  I currently think it's not worth the extra
    >> check.

    BDR> Here it probably makes more sense to coerce to
    BDR> character, and given the ambiguity I would allow only
    BDR> an all-NA logical vector.

Ok, I've just committed this (and tests for it) to R-patched and
R-devel.

Bug closed.

Martin