Displaying 1 result from an estimated 1 matches for "01011960".
2001 Oct 01
2
problem with strptime example (PR#811)
...correctly in my computer
(Windows 98 and R Version 1.3.1)
From
x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
strptime(x, "%d%b%Y")
I obtain
[1] "NA" "NA" "NA" "NA"
while
x <- c("01011960", "02011960", "3131960", "3071960")
strptime(x, "%d%m%Y")
gives
[1] "1960-01-01" "1960-01-02" "1960-03-31" "1960-07-30"
So it seems that the problem is with %b.
Arto Luoma
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...