From murdoch@stats.uwo.ca  Thu Jan 16 19:55:03 2003
From: murdoch@stats.uwo.ca (murdoch@stats.uwo.ca)
Date: Thu Jan 16 19:55:03 2003
Subject: [Rd] Warning appears after update.packages() (PR#2459)
Message-ID: <200301161855.TAA14524@pubhealth.ku.dk>

On Thu, 16 Jan 2003 11:37:26 -0600, you wrote in message
<20030116113726.3e562214.JDiaz-Saiz@UH.EDU>:

>I just did what you suggested. I even turned the computer off and started from scratch. The first time that I call update.packages() I get the warning. It does not appear when calling the function again.
>
>My OS is Windows 98SE.

I've got some more information now.  The first time you do any
internet operation, R loads "internet2.dll" or "internet.dll", which
are part of Internet Explorer.  Whichever one of those that you're
using has a bug in it:  it is changing the floating point precision
from 64 bit to 53 bit precision.  (This is a common bug in Microsoft C
and other DLLs.)

Versions of R previous to 1.6.2 would not correct this bug, and would
proceed to give you erroneous results.  You probably wouldn't notice
in most calculations, since 53 bits is still enough precision for most
purposes.  Version 1.6.2 corrects it by changing the precision back to
64 bits and giving you the warning, so R should be safe.

If something in the DLL relies on 53 bit precision, you might find
that it doesn't work any more.  This seems pretty unlikely:  after
all, 64 bit precision is better than 53 bit precision, and an Internet
browser doesn't do much with floating point in any case.  It'll likely
just run a tiny bit slower.

So my advice would be to ignore the error.  If you don't like that,
you could try upgrading to a newer version of Internet Explorer, and
the error might go away.  I'm using IE 5.50 in Win98 and I don't see
the message.

Duncan Murdoch



[Rd] Warning appears after update.packages() (PR#2459)
murdoch@stats.uwo.ca