From maechler at stat.math.ethz.ch  Wed May 12 17:59:23 2004
From: maechler at stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Wed May 12 17:59:26 2004
Subject: [Rd] points(*, pch=NA) does *not* not draw the point (PR#6876)
Message-ID: <20040512155923.AA13D104B6@slim.kubism.ku.dk>

>>>>> "BDR" == Brian D Ripley <ripley@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


[Rd] points(*, pch=NA) does *not* not draw the point (PR#6876)
maechler@stat.math.ethz.ch