From ggrothendieck at gmail.com  Thu Oct 20 01:29:42 2005
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Wed, 19 Oct 2005 19:29:42 -0400
Subject: [Rd] is.na<- problem
Message-ID: <971536df0510191629q29acd508n5b2d488e8e3d8290@mail.gmail.com>

In the following the first element of xx should have
been set to 0 but remains NA.  Any comments?

> xx <- c(NA,1)
> is.na(xx) <- 0
> xx
[1] NA  1
> R.version.string # Windows XP
[1] "R version 2.2.0, 2005-09-20"



[Rd] is.na<- problem
Gabor Grothendieck