From Kurt.Hornik@ci.tuwien.ac.at  Thu Oct  4 17:16:18 2001
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Thu, 4 Oct 2001 18:16:18 +0200
Subject: [Rd] Characters subsetted with NA (was: Several R vs S-Plus issues)
In-Reply-To: <200110041610.f94GA4U25288@arbres1a.FMR.Com>
References: <200110041610.f94GA4U25288@arbres1a.FMR.Com>
Message-ID: <15292.35666.720129.53696@mithrandir.hornik.net>

>>>>> David Brahm writes:

> Peter Dalgaard <p.dalgaard@biostat.ku.dk> wrote:
>> Basically, we should have a *real* NA for string variables, distinct from
>> the character string "NA" and propagating like any other NA's.

> I could go for that.  How would it appear when cat()ed or print()ed?

I think <NA> to distinguish from "NA".

R 1.4.0 already has

    o   Printing factors with both level "NA" and missing values
        uses `<NA>' for the missing values to distinguish them.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Characters subsetted with NA (was: Several R vs S-Plus issues)
Kurt Hornik