[R] Trouble With Dates; Recommended Reference?

Ronnen Levinson RML27 at cornell.edu
Sun Jul 21 08:32:45 CEST 2002


I'm having a little difficulty with R1.5.1. To wit:

(1) Can anyone explain the following behavior?

 > a=strptime("2002-06-01 12:15:01","%Y-%m-%d %H:%M:%S")
 > a
[1] "2002-06-01 12:15:01"
 > a+0
[1] "1932-04-25 21:46:45"
 > a+3600
[1] "1932-04-25 22:46:45"

(2) Can anyone recommend an introductory R text other than that supplied 
with the R package? My objective is to use R
to filter, plot, and regress experimental data. So far I have read the 
Intro To R file and have spent many hours hunting through the reference
files to try to understand R syntax and find useful features that are 
generally buried within. Of the dozen or so languages that I work with, 
this has been one of the most perplexing to learn from the supplied 



r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list