[R] what happende to as.POSIC.ct ???
BXC (Bendix Carstensen)
bxc at novonordisk.com
Tue May 15 12:08:35 CEST 2001
In my 1021-version I get:
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 2.1
year 2001
month 01
day 15
language R
> as.POSIXct( "1970/01/01" )
[1] "1970-01-01 Rom"
>
But having upgraded to 1023 I get:
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 2.3
year 2001
month 04
day 26
language R
> as.POSIXct( "1970/01/01" )
Error in fromchar(x) : character string is not in a standard unambiguous
format
Apparently the error comes out of as.POSIXlt which is called by as.POSIXct,
and it looks as if the behaviour of strptime has changed. But I cannot
find any differences in the code.
Any clues??
----------------------
Bendix Carstensen
Senior Statistician
Steno Diabetes Centre
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 28 25 87 38
fax: +45 44 43 73 13
bxc at novo.dk
www.biostat.ku.dk/~bxc
----------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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