[R] Chron format question h:m not working

Enrico Schumann es at enricoschumann.net
Wed May 1 20:21:51 CEST 2013

On Wed, 01 May 2013, stephen sefick <sas0025 at auburn.edu> writes:

> Thanks for the quick replies.  I have this working with a similar
> suggestion to what arun suggests.  I am just interested in why the option
> to use just h:m isn't supported.
> #re: Jeff
> chron(dates.="2009/05/01", times.="15:00:00", format=c(dates=c("y/m/d"),
> times="h:m:s"))
> chron(dates.="2009/05/01", times.="15:00", format=c(dates=c("y/m/d"),
> times="h:m"))
> same outcome.
> Does updating to R 3.0.0 solve the problem?

I doubt it: (h, m) is not a _permutation_ of {h, m, s}.


> Thanks for all of the help.
> Stephen

Enrico Schumann
Lucerne, Switzerland

More information about the R-help mailing list