[R] strange loss of accuracies under Win NT
Emmanuel Paradis
paradis at isem.univ-montp2.fr
Fri Jan 12 10:57:56 CET 2001
Dear All,
It's been several times I observed a very strange behaviour with R 1.2.0
under Windows NT 4.0 (with sp5): accuracies are lost in many cases. Things
are back to normal when I exit R and restart it. Here is an example of my
last encounter with this:
> bt1 <- c(7.3, 8.1, 8.4, 7, 6, 7.2, 6.7, 8.3, 9, 7.4, 8.6, 6.2, 6.9, 7.6,
5.3, 5.6)
> bt1
[1] 7 8 8 7 6 7 6 8 9 7 8 6 6 7 5 5
> 1000*0.1
[1] 0
> log(0.9999)
[1] -Inf
> log(1.9999)
[1] 0
> log(2)
[1] 0,6931472
I used R 1.1.1 on the same computer quite a lot, and never saw this. Has
anyone seen this with R 1.2.0?
Emmanuel Paradis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list