[R] as.numeric(".") returns 0

Karl Ove Hufthammer Karl.Hufthammer at math.uib.no
Thu Jun 12 13:36:08 CEST 2008


Paul Johnson:

> In R version 2.7.0 (2008-04-22) as.numeric(".") returns zero.
> 
>> as.numeric(".")
> [1] 0

Seems to be fixed already. In R version 2.7.0 Patched (2008-06-12 r45898):

$ as.numeric(".")
[1] NA
Warning message:
NAs introduced by coercion

-- 
Karl Ove Hufthammer



More information about the R-help mailing list