Re: [R] pmin behavior change in 2.0.0

2004-11-05 Thread Thomas Lumley
On Fri, 5 Nov 2004, Brian Bielinski wrote: Hi, In 2.0.0 the behavior of pmin has changed. It stops now with an error if all the elements at a particular point are NA. Yes. This has already been fixed in r-patched. -thomas __ [EMAIL PROTECTED] mail

Re: [R] pmin behavior change in 2.0.0

2004-11-05 Thread Prof Brian Ripley
This is fixed in 2.0.1 beta that is currently available for testing. It was a bug in pmin that went undetected until things were tightened up. [More precisely, pmin used an undefined construction, NA subscripts on the LHS of an assignment, that was not implemented consistently.] Interestingly it

[R] pmin behavior change in 2.0.0

2004-11-05 Thread Brian Bielinski
Hi, In 2.0.0 the behavior of pmin has changed. It stops now with an error if all the elements at a particular point are NA. These examples were run on windows xp, but the behavior for 2.0.0 is the same on linux. R 1.9.1 > pmin(c(1,NA,3),c(1,NA,2)) [1] 1 NA 2 > pmin(c(1,NA,3),c(1,2,2)) [1]