[R] Chron format question h:m not working

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Wed May 1 19:24:54 CEST 2013


A less-than-ancient version of R?

The documentation does not say the dates. argument is optional.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Stephen Sefick <sas0025 at auburn.edu> wrote:

>R 2.12.2 on Scientific Linux 6.4
>
>#works
>chron(times.="15:00:00", format=c(times="h:m:s"))
>
>#doesn't work
>chron(times.="15:00", format=c(times="h:m"))
>
> From chron Manual:
>The times format can be any permutation of "h", "m", and "s" separated 
>by any one non-special character. The default is "h:m:s".
>
>what am I missing?
>
>many thanks,



More information about the R-help mailing list