Hello,

I am building R-2.4.1 on an SGI IRIX platform, using gcc 3.3.
gmake check failed, and the arith-true.Rout.fail file indicated:
> is.na(mean(c(1,NA,NA)[-1], trim = .1, na.rm = TRUE))
[1] FALSE
>

I tried the mean() command in R and got:
> mean(c(1,NA,NA)[-1], trim = .1, na.rm = TRUE) 
[1] Inf

I think the problem is in the na.rm = TRUE, because I get:
> mean(c(1,NA,NA)[-1])
[1] NA

How serious is this problem, and is there a workaround ?

thank you
Kate





------------------------------
Kate Fissell
Systems Analyst
University of Pittsburgh
3939 O'Hara St.
Pittsburgh PA 15260
(412) 624-5279
fax: (412) 624-9149
[EMAIL PROTECTED]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to