Paul Johnson wrote: > In R version 2.7.0 (2008-04-22) as.numeric(".") returns zero. > > >> as.numeric(".") >> > [1] 0 > > This must be a bug. Splus and previous versions of R (<= 2.6.0) return NA, > as you might expect. > > I'm running R version 2.7.0 (2008-04-22) on Windows XP. > > I suspect that this got fixed along with the "lone sign" issue. I have
R version 2.7.0 Patched (2008-06-12 r45900) Copyright (C) 2008 The R Foundation for Statistical Computing > as.numeric(".") [1] NA Warning message: NAs introduced by coercion -- O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ R-help@r-project.org 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.