[R] Seek general information about time/date storage and functions in R

Duncan Murdoch murdoch at stats.uwo.ca
Thu Jan 4 18:51:26 CET 2007

On 1/4/2007 12:42 PM, Ben Fairbank wrote:
> Hello R List -
> I have to import Excel files (either as .csv files or using RODBC) into
> R (2.4.1, Windows) and operate on dates and times (e.g. find minutes
> between times, change dates to days of week or analyze by weeks of
> year).  The help files for format.Date, strptime, as.POSIX,
> DateTimeClasses, etc. etc. are informative but perhaps a little terse.
> I have googled unsuccessfully for a more general description of how R
> represents times and dates, and the methods (e.g. date arithmetic) for
> working with them.  Can a reader point out such an introduction,
> preferably on-line?

There was an article in R-News on just this topic, in the R Help Desk in
http://cran.r-project.org/doc/Rnews/Rnews_2004-1.pdf .

Duncan Murdoch

More information about the R-help mailing list