[R] strptime

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 18 19:24:59 CEST 2008


On Wed, 18 Jun 2008, Eric Elguero wrote:

> Hi,
>
> what's wrong with that?

User error.  Look up all the terms beginning with % -- the third one (%:) 
is not described in the help file.

>
>> strptime("06:00:00 03.01.2008",format="%H:%M%:%S %d.%m.%Y",tz="GMT")
> [1] NA
>
> the command seems to comply with the rules in the help file but returns NA
> (R 2.6.1 Windows XT)
>
> Eric Elguero
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list