Displaying 1 result from an estimated 1 matches for "9e307".
Did you mean:
92307
2012 Jan 03
2
Comparison of numeric and character vectors
Hi all,
I just discovered that R considers characters to be really big:
> "a" > 999
[1] TRUE
> "a" > 9e307
[1] TRUE
> "a" > 9e308
[1] FALSE
and that some characters are literally infinitely big:
> "Z" >= Inf
[1] TRUE
although not all:
> "a" > Inf
[1] FALSE
This came as a surprise to me (although it is quite possibly a trivial
issue), and I'd appr...