is.na(v)<-b (was: Re: [R] Beginner's query - segmentation fault)

Duncan Murdoch dmurdoch at pair.com
Thu Oct 9 00:26:06 CEST 2003


<Tongue in cheek>

But surely 

 is.na(x) <- is.na(x)

is clearer than

 x[is.na(x)] <- NA

(neither of which is a no-op).

</Tongue in cheek>




More information about the R-help mailing list