[R] system time is 5 hours off in Windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jan 24 13:34:48 CET 2001


On Tue, 23 Jan 2001 Setzer.Woodrow at epamail.epa.gov wrote:

>
> I think I understand what is happening with my system time problem (though
> not why, exactly).  The problem is not in R, but, apparently, in an
> interaction between my version of msvcrt.dll (version 6.10.8637.0) and the
> implementations of the POSIX time functions in mingw32.  At the end of this
> message is a little c program and batch file that demonstrate the problem.

No problem on my NT4 laptop (no surprise) nor on my Win98 Vaio
mini-notebook (which has msvcrt.dll version 6.00.8397.0).  Do you have
Win98SE?

I am looking for a workaround ....

Writing the original datetime code on Solaris was easy.  I read the docs,
programmed it up, it worked.  Then I tried Linux, and spent longer wroking
arounds its bugs.  Then I tried Windows, and spent as long again
working around its bugs ....   Since release several more bugs have
emerged under various OSes.

I now wish I had ignored the OS altogether, but writing time-zone
handling is a *very* messy task.

Brian

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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