Hi. 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 manuals. Thanks, Ronnen. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2002-Jul-21 07:19 UTC
[R] Trouble With Dates; Recommended Reference?
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi! There is a book about the R/S language for free and worth reading. It's called "S Poetry" and you will find it here: http://www.seanet.com/~pburns/Spoetry/ If you anyway want spent some money for a book to learn about the syntax a clear and concise intro is that by Andreas Krause published by Springer. But the best is to take package that is doing something similar to that what you want to do and read the source. Eryk. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._