[R] POSIXct vs Dates

Don MacQueen macq at llnl.gov
Fri Apr 23 16:06:45 CEST 2004


I can agree with the other responses, and mention that I'm on the 
other side of the coin, so to speak.

The *only* reason I tried R to begin with was to find out if it could 
handle data whose time scale was in minutes and seconds better than 
the other software I was using. With its POSIXt class, which had only 
recently been introduced, it was better.

In particular, I needed software that would successfully plot the 
data as it crossed the boundary between daylight savings time and 
standard time *and* label the time axis with daylight savings time or 
standard time as appropriate. R did; the other software did not.

-Don

At 8:20 AM -0400 4/22/04, Frank E Harrell Jr wrote:
>I noticed the addition of the Dates class for dates without times, in R
>1.9.  I am making extensive use of POSIXct at present and would like to
>know whether it is worth changing to Dates.  What are a few of the
>trade-offs?
>
>Thanks,
>
>Frank
>---
>Frank E Harrell Jr   Professor and Chair           School of Medicine
>                      Department of Biostatistics   Vanderbilt University
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA




More information about the R-help mailing list