From tobias.verbeke at openanalytics.eu  Wed Jan  2 19:38:27 2013
From: tobias.verbeke at openanalytics.eu (Tobias Verbeke)
Date: Wed, 02 Jan 2013 19:38:27 +0100
Subject: [Rd] scientific notation and comparison with character variable
Message-ID: <50E47EA3.4040800@openanalytics.eu>

L.S.

Is the following expected and/or documented?

 > 1e-2 < "0.05"
[1] TRUE
 > 1e-4 < "0.05"
[1] FALSE

Many thanks in advance for any pointer.

Best,
Tobias

 > sessionInfo()
R Under development (unstable) (2013-01-01 r61512)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base



[Rd] scientific notation and comparison with character variable
Tobias Verbeke