Skip to content
Prev 32360 / 63424 Next

'is.integer' (PR#13671)

To the best of my knowledge this is not a bug. According to FAQ 3.3.3
"Numeric constants with no fractional and exponent (i.e., only integer)
part are taken as integer in S-Plus 6.x or later, but as double in R."

You can see it by invoking
[1] "double"

Hence, if you really want to have integers, you need to use as.integer
i.e.
[1] "integer"

Cheers,
Mathieu

Le mercredi 22 avril 2009 ? 19:45 +0200, hzambran.newsgroups at gmail.com a
?crit :