Re: [R] strptime

From: Erik Iverson <iverson_at_biostat.wisc.edu>
Date: Wed, 18 Jun 2008 12:00:02 -0500

Eric Elguero wrote:
> Hi,
>
> what's wrong with that?
>

>> 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 it does not. Look closely at the format, and then you'll see %M%...

  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.



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. Received on Wed 18 Jun 2008 - 19:03:04 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 18 Jun 2008 - 19:30:51 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive