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

From: Karl Ove Hufthammer <Karl.Hufthammer_at_math.uib.no>
Date: Thu, 12 Jun 2008 13:36:08 +0200

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

______________________________________________
R-help_at_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.
Received on Thu 12 Jun 2008 - 12:09:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 12 Jun 2008 - 12:30:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive