From ihaka@stat.auckland.ac.nz  Fri Apr  9 08:30:09 1999
From: ihaka@stat.auckland.ac.nz (Ross Ihaka)
Date: Fri, 9 Apr 1999 19:30:09 +1200 (NZST)
Subject: a strange logical bug (PR#162)
In-Reply-To: <199904090639.IAA00863@blueberry.kubism.ku.dk>
Message-ID: <Pine.BSF.3.96.990409192859.3007C-100000@g.ihaka.slip.auckland.ac.nz>


On Fri, 9 Apr 1999 jlindsey@alpha.luc.ac.be wrote:

> In R0.64.0, try
> as.numeric(is.na(c(NA,NA,1)))
> as.numeric(c(T,T,F))

My version says

	> as.numeric(is.na(c(NA,NA,1)))
	[1] 1 1 0
	> as.numeric(c(T,T,F))
	[1] 1 1 0

which I think is ok?

	Ross

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


a strange logical bug (PR#162)
Ross Ihaka