From ligges at statistik.uni-dortmund.de  Wed Jun  2 10:27:49 2004
From: ligges at statistik.uni-dortmund.de (ligges@statistik.uni-dortmund.de)
Date: Wed Jun  2 10:27:54 2004
Subject: [Rd] Bug with date 1970-01-01 on Windows (PR#6929)
Message-ID: <20040602082749.E521E10683@slim.kubism.ku.dk>

martin.lenze@web.de wrote:

> Full_Name: Martin Lenze
> Version: 1.8.0 alpha (2003-09-18)

1.8.0 alpha????

Please try the current version of R (R-1.9.0 has been realeased some 
time ago!) - it has been fixed in the meantime!

Please don't report bugs in outdated version of R.

Uwe Ligges


> OS: Microsoft Windows 2000 [Version 5.00.2195], SP4
> Submission from: (NULL) (82.82.76.131)
> 
> 
> Seems to be related to PR#1332...
> 
> Hello,
> 
> I get:
> 
>>Sys.getlocale()
> 
> [1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
> States.1252;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=English_United States.1252"
> 
>>strptime("20040602","%Y%m%d")-strptime("19700101","%Y%m%d")
> 
> Time difference of NA secs
> 
>>strptime("20040602","%Y%m%d")-strptime("19700102","%Y%m%d")
> 
> Time difference of 12569.96 days
> 
> I get as well the bug reported in 1332:
> 
>>as.POSIXct("1970-01-01", tz = "GMT")
> 
> Error in fromchar(x) : character string is not in a standard unambiguous format
> 
> Regarding hint on msvcrt.dll in Windows-FAQ on R:
> The downloaded archive contains:
> msvcrt.dll 4.20.0.6164
> msvcrt20.dll 2.11.0.0
> msvcrt40.dll 4.10.0.5349
> 
> My Windows 2000 System has the following versions in ...\system32:
> msvcrt.dll 6.1.9844.0
> msvcrt20.dll 2.12.0.0
> msvcrt40.dll 4.2000.0.6201
> which are all newer than the ones from the archive mentioned within the FAQ.
> Thus I feel a bit unhappy, to replace those, especially as the readme.txt in the
> archive recommends not to do so if files are present.
> 
> I have made this a new bug report, because the other one is over two years old
> now...
> 
> Hope You don't mind.
> 
> Many thanx in advance
> M. Lenze
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel


[Rd] Bug with date 1970-01-01 on Windows (PR#6929)
ligges@statistik.uni-dortmund.de