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

maechler at stat.math.ethz.ch maechler at stat.math.ethz.ch
Wed May 12 17:59:23 CEST 2004


>>>>> "BDR" == Brian D Ripley <ripley at stats.ox.ac.uk>
>>>>>     on Wed, 12 May 2004 16:45:49 +0200 (CEST) writes:

    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



More information about the R-devel mailing list