[R] formatting sub-second intervals

R. Michael Weylandt michael.weylandt at gmail.com
Tue Apr 17 01:58:55 CEST 2012


It looks to me like it's written in the penultimate paragraph of the
details section for ?strptime

Michael

On Mon, Apr 16, 2012 at 12:50 PM, Gene Leynes <gleynes+r at gmail.com> wrote:
> I would like to suggest that there is some documentation missing from
> strptime.
>
> There appears to be a way to show second decimals by using "%OS4" (change
> the number to get more or less decimals), but it's not mentioned anywhere
> that I can find.
>
> After a long time searching and experimenting I finally found this in the
> r-help archives, but I couldn't find anything in the help or in various
> package vignettes.
> http://r.789695.n4.nabble.com/POSIXct-value-display-incorrect-for-some-values-td4311446.html
>
> Also, I would think there should be a link to strptime in the "see also"
> portion of every function that has anything to do with time / dates, since
> this function has the conventions for all the time formatting used for
> importing, converting, and printing time/dates.
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.



More information about the R-help mailing list