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

Gabor Grothendieck ggrothendieck at myway.com
Wed Oct 8 16:54:47 CEST 2003



Also, presumably is.na<- could be redefined by the user for particular
classes so if you got in the habit of setting NAs that way it would
generalize better.

--- 
Date: Wed, 8 Oct 2003 11:49:29 +0100 (BST) 
From: Prof Brian Ripley <ripley at stats.ox.ac.uk>

I don't think it can ever `go wrong', but it can do things other than the 
user intends. The intention of is.na<- is clearer, and so perhaps user 
error is less likely? That is the thinking behind the function, anyway.



_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com




More information about the R-help mailing list