[R] Trouble With Dates; Recommended Reference?

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Sun Jul 21 09:19:36 CEST 2002


On Sat, 20 Jul 2002, Ronnen Levinson wrote:

> Hi.
>
> I'm having a little difficulty with R1.5.1. To wit:
>
> (1) Can anyone explain the following behavior?

No. I can't reproduce it either.  Platform?  Your build is definitely
broken, and that probably means some facility of the OS used is broken.

>  > 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
> manuals.

That's not the intention.  R is an implementation of the S language.
You need to read one or more books on the language, and yes, that will not
be free.  There are recommendations in the FAQ, no less.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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