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. Paul _____________________________________________________ Paul Johnson Robertson Centre for Biostatistics University of Glasgow Glasgow G12 8QQ, UK [EMAIL PROTECTED] http://www.stats.gla.ac.uk/~paulj/index.html http://www.rcb.gla.ac.uk/ ______________________________________________ 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.