On Mon, 2 Apr 2001 devoilp@dpi.qld.gov.au wrote:
Full_Name: Peter deVoil Version: 1.1
There was no such version: 1.1.0 or 1.1.1?
OS: i686-pc-linux-gnu Submission from: (NULL) (203.25.1.208) Hi,
zz <- c(3.2, 4.5, NA) zzz <- c(3.2, 4.5, 5.5)
If there are no NAs in the list: ---
length(na.omit(zzz))
[1] 0 --- I expected 3.
I get 3.
But, if there are NAs, the correct answer is returned ---
length(na.omit(zz))
[1] 2 ---
I can't reproduce this in the current version (1.2.2). Please upgrade.
Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._