Some time ago, there was a discussion on a listserv to which I describe regarding statistical software preference. Someone had mentioned a strong preference for the use of R and since that time, I have downloaded the software package (seeing as how it's freeware). However, in looking at the interface, I am at a loss regarding how to actually use the application, and I currently cannot commit the time necessary to pour through the hundreds of help articles or forums. That being said, I looked into some R tutorial books and I wanted to see if anyone has any experience with the books I have listed below or if there are any other recommendations (the ones listed are based on reviews). I am currently gravitating towards Andy Field's book because his writing style is accessible and entertaining, but I also feel that there may be some "wasted chapters" because I already have the SPSS version of his book and I assume that there will be some redundancy. I am also open to the idea that I might need to buy 2 books.
I will likely be conducting traditional statistical analyses (e.g., factor analysis, discriminant function analysis, MANOVA/MANCOVA, ANOVA/ANCOVA, regression), but I would also like to learn how to conduct other analyses through R (e.g., canonical correlation analysis, structural equation modeling, path analysis, time series analysis, etc). I have not used some of these techniques, so a book that includes didactics regarding the nature of these analyses would also be ideal. I appreciate any insight into this. Thank you for your time and I hope everyone has a nice day.
Discovering Statistics using R (Andy Field, Jeremy Miles, & Zoe Field)
The R Book (Michael J. Crawley)
R Cookbook (Paul Teetor)
R for Dummies (Joris Meys and Andrie de Vries) (they have one of these books for everything, don't they?)
Introductory statistics with R (Peter Dalagard)
R by Example (Use R!) (Jim Albert and Maria Rizzo)
R in Action (Robert Kabacoff)
I bought the R Book by M.Crawley and find that it was really helpful. It helps you learning how to use the software but also gives some hints in how to run the stats. I am using it over and over every time I am trying to learn some new analyses! I warmly advice it. I also have the R Graphics book but this doesn't really add much to what you would already find in the R Book, unless you want to do advanced quality graphs.
Thomas, just finished up a stint learning R as I had previous knowledge/experience with SPSS and SAS. Found that once the code and structure of R made since, the language is very good. I used as part of the learning process The Art of R Programming, A Tour of Statistical Software Design by Matloff [ISBN-13: 978-1593273842].
This was a strong intro book to get into R.
What I found was really helpful for seeing how to construct some of the more complex models was using a couple tools, Deducer and R Commander. These are GUI packages that extend R and let you do some pretty good modeling with simple point and click but you can see the code generated which helped me learn good practice for using various functions.
A final thought, while your time may be limited, the forums and help articles do provide an additional component in that that discuss various package extensions for R. The true power of R lies in the fact that anyone can write add on packages to extend functionality and there are some great ones out there.
Hi Thomas,
If you already know SPSS then you can go here:
http://www.ats.ucla.edu/stat/r/
Choose two options: Learning Modules or Classes and Seminars.
Probably it's fairly enough to master R.
Thank you everyone for your recommendations and feedback! I will definitely set some time aside in the next couple of weeks to start learning how to use this application. Take care and I hope everyone enjoys the rest of their week.
Statistics and Data Analysis for Financial Engineering by David Ruppert, Springer 2010
Dear Thomas, I can only agree with Ivan Maggini: Crawley's The R book picks up right at the very basics, but won't let you out in the rain once you get the stats going. This is probably the only book you will need in a very long time... Good luck getting started! S.
Hi Thomas, I encourage you with either Crawley's or Teetor's; they both nicely cover the very basics and provide some advanced applications. You may also check a course on 'Computing for Data Analysis' at coursera.org, if you wish to get the basic foundations through interactive e-learning. However, and to wrap up, I would suggest Crawley's if you envision to establish a 'long-term relationship' with R. All the best,
//E
Hi,
I discovered a free R-plugin called Rattle in a machine learning course last term.
http://rattle.togaware.com
It comes with a book written by its main developer and is very suitable for getting an overview of a new dataset. After a session you can see the equivalent R code the Actions on the UI have produced.
best regards
damian
I found "Discovering Statistics using R" (Andy Field, Jeremy Miles, & Zoe Field) quite helpful, particularly if you need thorough explanations of statistics as well as R programming. The book usually gives very detailed step-by-step instructions of how to perform a test using R, as well as a lot of explanations on the background behind statistical tests. That said, it does contain some errors and inconsistencies, and I usually double-check the information with more reliable sources, depending on the topic. Particularly, for mixed models I recommend Pinheiro and Bates: "Mixed-Effects Models in S and S-PLUS" (as R is basically a further development of S, you can use the same code for R).
I discover in R a nice tools about packages. Instead of trying to learn everything right away, another option would be to learn directly packages that can provides you with a quick hand on tools and then follow with more deeper understanding on your way.
Also be aware that depending of your areas of interest and applications someone would already created a package that you can just apply to your problem.
And the nice thing about R, is that all packages are required to come with the package explanation book who is a nice place to learn about the package and also the function attributes.
Hope you will enjoy learning packages use in R.
this would be a nice place to start looking about Time series packages and it use
http://cran.r-project.org/web/packages/timeSeries/index.html
Brian Everett's Handbook of Statistical Analysis was where I began to get comfortable with R. I'd also recommend looking at the Journal of Statistical Software, a free online journal, which describes R packages with tutorials on their use.
For time series analysis, I encourage you to use:
-Time Series Analysis and Its Applications: With R Examples (Shumway and Stoffer)
- Modeling Financial Time Series with S-PLUS (Eric Zivot and Jiahui Wang)
For time series you have: Analysis of Integrated and Cointegrated Time Series with R by Bernhard Pfaff
A must-read for most practitioners: Applied Econometrics with R, by Christian Kleiber and Achim Zeileis
For spatial analysis : Applied Spatial Data Analysis with R by Roger S. Bivand, Edzer J. Pebesma, Virgilio Gómez-Rubio
My favorite R-Books are:
Adler, Joseph. R in a Nutshell. Sebastopol, CA: O’Reilly, 2012.
Conway, Drew. Machine Learning for Hackers. 1st ed. Sebastopol, CA: O’Reilly Media, 2012.
Matloff, Norman S. The Art of R Programming: Tour of Statistical Software Design. San Francisco: No Starch Press, 2011.
McCallum, Q. Ethan. Parallel R. Sebastopol, Calif.: O’Reilly Media, 2012. http://proquest.safaribooksonline.com/9781449317850.
Another great ressource was "Computing for Data Analysis" (https://www.coursera.org/course/compdata) and "Data Analysis" (https://www.coursera.org/course/dataanalysis)
Thank you again everyone for the helpful advice, perspectives, and recommendations! It looks like I'll be going through some of the free materials and buying a couple of different books. Cheers!
Tom
i found the following books really helpful:
Discovering Statistics using R (Andy Field, Jeremy Miles, & Zoe Field)
and
Introductory statistics with R (Peter Dalagard)
as well as the website "Quick-R".
All the best,
Dan
hello, may suggest Begining R, the statistical programming language by dr. Mrak Gardener, you can get it next link http://it-ebooks.info/go.php?id=797-1371765088-077623832bcedf34fdd558648e619662
Hi Mitchel you recommend a handbook of Brian Everett. Can you share the link with us? There are many people with that name when you try to google it.
I'm assuming he means the latest edition, which is, Horthon & Everitt: http://www.barnesandnoble.com/w/a-handbook-of-statistical-analyses-using-r-second-edition-torsten-hothorn/1114910637?ean=9781420079333
Andy Field wrote: "My R book is basically the SPSS book but for R, so the examples are the same as is a lot of the theory."
If that is so, that book would be worth looking into. The SPSS book is probably the most pleasant statistics book I've read and I learned a lot from it.
R in Action: Data analysis and graphics with R (ROBERT I. KABACOFF), you can read it.
Hi Mitchell and Phillip: thanks for this answer. I had a look at some of the chapters (free download compare link below for chapter 1 from cran r). Is that similar to the textbook?
http://www.google.ch/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&sqi=2&ved=0CDYQFjAB&url=http%3A%2F%2Fcran.r-project.org%2Fweb%2Fpackages%2FHSAUR%2Fvignettes%2FCh_introduction_to_R.pdf&ei=vVTKUaP_L4SOO7DtgXg&usg=AFQjCNEEd55mLtYFqqTlYIEhg--CqpZ1Cw&sig2=oxa6yaHNez7Q4OrWc-Jo-g&bvm=bv.48340889,d.ZWU
It's similar in that it covers some basics. The book has a lot more explanations. For example, it starts off with an extensive review of the help functions across mac, PC, and linux. Although the information in the link you cite is accurate, the book's more designed to get you up and running quickly with a lot of explanations along the way. It's a little like having someone thoroughly explain the interface. I think it's worth the money (I just ordered it as a Nook book recently).
Thanks Phillip, sounds really good. Please tell me more when you have the book. I had a download link this morning but unfortunately my university does not support that database otherwise I would owe it now :(
One more thing, for a more advanced user who already knows the basic operations: I learned *a lot* of R just by reading the fabulous manuals, reference manuals and studying the provided examples. Also, many packages contain vignettes or manuals, which are often v.v. good (in fact, many of them with time turned into actual books). Use the "?" and "??" from R command line a lot.
Another great source of information: R blogs, http://www.r-bloggers.com/ (I just started one like that as well! https://logfc.wordpress.com/)
My pick for a beginner or an intermediate beginner is the O'Reilly "R Cookbook".
Hi January, thanks for that tipps. Actually I use the manuals as my first reference, as second the blocks. But yours sound better, I bookmark both (I just googled). What I now learned from you are two things: the "?" and the Cookbook. I had a look at it, it looks good. Thank you so much. I also looked at Mark Gardener: beginning R.
To start with i would consulate An Introduction to R which can be found at http://cran.r-project.org its free and gives you everything you need to get started. I would the suggest you move on tothe R Cookbook by Paul Teetor its a good guide but also acts as a good reference guide even for advanced users.
Also the guides on the R site can be a bit hit or miss but some are excellent.
I would recommend the following four (4) books from my personal library:
1. R Cookbook - O'Reilly (2011) - ISBN: 978-0-596-80915-7
2. R In A Nutshell - O'Reilly (2010) - ISBN: 978-0-596-80170-0
3. Introductory Statistics with R - Springer (2008) - ISBN: 978-0-387-79053-4
4. The Art of R Programming - Norman Matloff (2011) - ISBN: 978-1-593-27384-2
These books have been very helpful to me and I hope that you can find these useful as well.
I also like the books from Pfaff and his procedures, just for those who seek more alternatives :) Also some universities have an R team as for example ETH Zurich or Institute for Statistics of University Bern. So much from my side.
I know what tour feeling is like. I've been through it too. R is incredible and very versatile but at the "first date" it looks a bit cryptic. Personally, the 'R Book' is well done because example of scripts and, above all, explanations about the R outcome, which is not to underestimate! I reckon that book is a good starting point. Based on the aim of your analysis, probably you will need more reference from either other books or the R packages manuals. It's hard at the beginning but do not give up!
If anyone has used SAS before they might like this one called R for SAS and SPSS users, written by Muenchen: https://science.nature.nps.gov/im/datamgmt/statistics/R/documents/R_for_SAS_SPSS_users.pdf
otherwise the R book by Crawley is great. Plus you can learn so much from all the resources online, esp stackoverflow. The atmosphere can be a little hostile sometimes towards new users, but as long as you demonstrate that you've tried some things, have done some reading and give reproducible code you're covered!
You can refer the guidance document of 'Biodiversity R'. It has got some advanced techniques. Also have a look at 'Applied Spatial Data Analysis with R' by Roger S. Bivand . Edzer J. Pebesma.
Virgilio Gómez-Rubio
I learnt R in a course given by Mick Crawley at Silwood Park.
I can highly recommend "The R Book" written by him; it has introduced me to R and been a good companion throughout.
Was recommended this website last night - has a series of articles which are brilliant for people starting off with R. The author has also compiled a list of useful books. http://www.computerworld.com/s/article/9239625/Beginner_s_guide_to_R_Introduction?pageNumber=1. also not sure if anyone has mentioned medepi.org? There's a book on there for learning how to do epi tests in R http://www.medepi.net/docs/EpidemiologyUsingR.pdf.
Considering the coverage you are looking for, I recommend "Numerical Ecology with R", by Daniel Borcard, François Gillet and Pierre Legendre, published in 2011 in the series "Use R!", Springer, XI + 306 pp. The examples are mainly from ecology, but the book leads you step by step through the application of most major techniques of multivariate data analysis. See http://adn.biol.umontreal.ca/~numericalecology/
A Handbook of Statistical Analysis by Brian Everett's is very useful and easy to understand specially who are going to start work with R language.
For statistical modelling, Frank Harrell's book is full of examples applied to modelling.
Many thanks, Sarah-Jo. It was helpful - R for SAS users, exactly what I needed! I rather use Google and other Internet possibilities than books. Books are expensive!
If you are using R outside of the world of statstics, I would recommend "The Art of R Programming" by Norman Matloff as a good reference for writing much more computationally and memory efficient R code. http://nostarch.com/artofr.htm
A good Introduction to R is "R in a Nutshell" by Joseph Adler and for canonical correlation analysis i recommend you http://www.jstatsoft.org/v23/i12.
I would think Andy Field's text matches what you're looking for pretty exactly. You can always skip the bits you read in his SPSS version - I find there's lots I skip in his writing anyway :-)
By way of an online, "free" text Ruth Ripley's Oxford course notes (and exercises) are terrific http://www.stats.ox.ac.uk/~ruth/
You can get a long way just by modifying her example programs.
I began with "An introduction to R". It is free and produced from the R team itself!!
get it here: http://www.cran.r-project.org/doc/manuals/R-intro.pdf
Then it is a matter of reading the manuals of particular Packages you would instal when wanting to do something specific. that documentation which comes with R packages usually offer usefull examples.
Well, I see a plenty of extremely helpful suggestions here. But I would like to share my experience as a beginner of R during August 2011. The only things you need to learn as a beginner of R are:
1. The R operators.
2. The R object types and how to generate, coerce and exchange between them.
3. The R functions and how to write them with arguments.
And to learn them you don't need any book, they are well documented in "An Introduction to R" (http://www.r-project.org/) (someone has mentioned it already). The application of R became so diversified and out-reaching that you might only need book to learn very specific application oriented R programing. But what I do is typing in google what exactly I need to do in R. Believe me or not there are 100s of webpages waiting to help you and that yields far better results than digging into a book.
Hope that helps.
All the books mentioned above are really helpful but I do find the R book by Michael Crawley a real treasure. Not only it is helpful in learning R but it has also helped me get valuable insight on some statistical concepts. It is updated with some of the newest concepts in classification and data mining too.
Two books that illustrate how to use R when using ANOVA, MANOVA, ANCOVA and various regression methods are Wilcox (2012, Modern Statistics for the Social Sciences) and Wilcox (2012, Introduction to Robust Estimation and Hypothesis Testing). A possible appeal of these books it they also include modern robust methods that can substantially increase power when standard assumptions are violated.
To a beginner what I am suggesting is to start with R Commander package with R. Since this is menu driven this will act as a bridge from earlier software that you used to R. Using this package you can perform many basic statistics. Then use Quick R website (http://www.statmethods.net/ ) to understand some basic codes. In this stage one can read other relevant R books to understand the advanced features of R.
Duda please look at German Rodriguez's Introducing R at http://data.princeton.edu/R. It simplifies R to the benefit of a beginner. It is one the materials that helped me conquer R.
Enjoy it.
If you already have experience managing data sets and doing statistical analysis in SAS or SPSS, examine the book "R for SAS and SPSS Users" by Robert Muenchen. He also wrote one for STATA users. Then get the book for you application, such as MANOVA.
I notice you also mention that you found the R "interface" a bit intimidating and that it was difficult to figure "how to actually use the application" ! You might find that RStudio (http://www.rstudio.com/ide/download/) helps you get over that obstacle. No doubt R gurus would spurn it in favor of Emacs (e.g. http://ess.r-project.org/) or some even plainer text editor, but it does make things much easier for a beginner, and is much more similar to programs you are familiar with such as SPSS and SAS.
Dear Thomas,
the Best source is internet! Generally all R users are helpful people.
I highly recommend Visualize This by Nathan Yau. Both this book and the author's blog, FlowingData contains lots of tutorials about using R in order to do some good statistics. Check a look at the blog and then decide! Cheers!!!
http://book.flowingdata.com/
Rstudio is a good interface (GUI), and R in Action (Kabacoff,R) and A Handbook of Statistical Analysis Using R (Everitt,BS; Hothorn, T) are excelent books.
There are several videos online that might be useful for you. You may check this one: http://www.youtube.com/watch?v=Ups49fkux5A&feature=c4-overview-vl&list=PLFf3DKi9pkFQceRv27Wm_EtNx6QOiCpOY
I started with "Discovering statistics using R" by Andy Field and I enjoyed it very much.
I found Professor Walter Zucchini's notes very helpful in learning how to get started with R:
http://www.statoek.wiso.uni-goettingen.de/mitarbeiter/ogi/pub/r_workshop.pdf
Time series:
http://www.statoek.wiso.uni-goettingen.de/veranstaltungen/zeitreihen/sommer03/ts_r_intro.pdf
Apart the books available in the R website (http://www.r-project.org, manual section), I started my adventure with R with the very useful Peter Dalgaard's book.
"Introductory Statistics with R" - Springer Editor
It will guide you from the basics of R and statistics until more advanced analysis.
Learning R is about practice, searching, trial and error. When you encounter a problem, Google is often the first choice. You will find answers quite often in http://stackoverflow.com/.
For the books, I think R in Action is a great reference, not only for statistics but also for data visualization. The book is systemically written and well-organized. The content covers the basic statistics and intermediate methods such as regression, permutation tests, generalized linear model, PCA, and dealing with missing data. At the same time, its companion website is also very useful: http://www.statmethods.net/. If you have already been familiar with the basic statistics, I think it's a nice start for you to practically learn R and use it!
For more advanced topics, use R! series can help.
And I'm still getting great recommendations! Thanks everyone so much for your time in responding to my question. Learning R will be one of my primary projects over winter break. Thank you again! :)
As one of the authors of R for Dummies, I'm bound to suggest that one to you as well. But I'd like to add a sidenote: R for Dummies looks at R from a programming point of view, not so much a statistical point of view.
We chose to take "the other route" as I have daily experience with the problems that arise due to copy-pasting solutions from other people without understanding the underlying structure of the objects and how to work with them. Yet, as R _is_ first and foremost a programming (scripting) language, you need a fair idea about how to work with the objects.
I get R users at my desk that even with more than 3 years of experience still don't know eg that a data frame is a list and not a matrix, and especially don't grasp the consequences of this fact.
As I noted to some critics before, everything you need to learn R is to be found for free on the internet. R for Dummies is merely a (hopefully useful) summary in a sequence we deemed suited to learn R from scratch.
But whatever you do, don't copy code you don't understand, and spend a fair amount of time figuring out the programming aspects, not only the statistical aspects of R.
I strongly recommend 'Using R as an Introductory Statistics' by John Verzani. I used it when learning R and it provided me with strong basis. Very good to teach you the R language and stats at the same time.
My recommendation
Discovering Statistics Using R by Andy Field, Jeremy Miles, Zoë Field - SAGE Publications - (2012.04.04) - paperback - 957 pages
I would suggest a first quick tour on Quick-R website http://www.statmethods.net/ .
Then, based on my personal experience, I would suggest R in action, it is very practical without loosing the rigour for statistics.
Yes, the Quick-R webste is very good. Cookbook for R (website also). Otherwise, it may be a good idea to follow some youtube clips such as:
http://www.youtube.com/watch?v=u5hroyx0J4o&list=HL1384510728&feature=mh_lolz
Then you get guidance all the steps of the way.
Also, make use of the Stack Overflow site and the R-help list if you really cannot find any answers on Stack Overflow.
Wish you the best
Anna
Try Clinical Trial Data Analysis with R by Din Chen and Karl Peace, published by Chapman/ Hall Biostatistics Series. You may also want to consider Applied Meta Analysis Using R, also by Chen and Peace and published by Chapman Hall Biostatistics Series.
I have used the Daalgard book, and I find it to be very helpful. Another book is "R in a Nutshell", by Joseph Adler, is a helpful reference, but don't expect to learn R from it.
Do any of the books have explanations with examples for things like generating permutation distributions or even MCMC methods?
See
http://www.r-bloggers.com/
and also this
http://www.r-tutor.com/
I follow them almost every day.
Have a nice day
Hi there! I discovered R by taking the Statistics, Data Analysis and Computing for Data Analysis classes on www.coursera.org. I think the interactions and also the course materials and resources (some of which named above) would add value and more depth to your endeavour rather than only taking a book page by page. Good luck with your work!
If you're already comfortable with the statistics then I would not recommend Andy Field's book because (a) it focuses primarily on the statistics, spending much time (i.e., pages) on trying not to scare students away, and (b) it does not introduce R in the easiest possible way but tries to adapt R usage to the requirements of an SPSS stats book, resulting in examples that may start off scarier than necessary. I prefer a more bare-bones initial approach R, with a minimum of functions and external libraries, focusing on how simply and coherently you can get basic stuff done.
I concur with recommendations for online introductions, such as tutorials marked "for psychologists" and such in the "under 100 page" section of the R contributed documentation pages.
Having said that, I do recommend Field's book for someone who also needs to learn the stats starting at the beginning, for the well-known reasons that have made Field's book so popular with students.
I also participate in Corsesa courses for improving my R-skills. Also I can recommend such resources as http://www.revolutionanalytics.com/ and http://manuals.bioinformatics.ucr.edu/home/programming-in-r.
I hope that'll work/ Good luck!
For time series analysis I suggest you the book of Shumway and Stoffer. For regression the newest book of Fahrmeir et al, "REGRESSION", which has a lot of updated example in R, STATA and other packages. For simple programming www.datamind.org.
I find "Notes on the use of R for psychology experiments and questionnaires", by Jonathan Baron, also good. Here:
http://www.psych.upenn.edu/~baron/rpsych/rpsych.html
Thomas, if you haven't already, I would recommend downloading R-Studio which is a popular 'integrated development environment'. It includes lots of features that make using R easier including adding in additional packages which is a common task.
I would recommend Discovering Statistics using R (Andy Field, Jeremy Miles, & Zoe Field) 4th edition
It is easy, funny, reader-friendly and scientifically sound
I would recommend r in a nutshell by Adler and intro stat with R by Dalgaard. Both are so helpful. QuickR website is also a good source for elementary level.
Hi, actually i found this website is very helpful for my work and it saves alot of time.
http://www.statmethods.net/stats/regression.html
Dear Thomas,
Murray Logan's Book (Practical Design and Analysis Using R: A practical guide) is fine to began an introduction to R. For multivariate analysis (PCA, CCA, RDA,...) I can suggest you try the website of ade4 package, but the problem, may be, it is in French. However, there is the adelist, that is a mailing list used to announce news about the ade4 package for R, and to allow users to exchange informations. For the time serie analysis, you have Woods' Book on Generalized Additive Models in R. You have also a R-tutorial, of ~20 pages, about the time series analysis with R (Zucchini and Nemadé, Time series analysis with R - part I). You can go to see also at http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/src/timeseries.html.
Good luck with your work,
Best regards
I highly recommend http://tryr.codeschool.com/ for 100% beginners !!
Cheers,
Tamara
Dear Thomas,
R has a tremendous number of resources you can use. In this sense I suggest to go to the Contributed Documentation in the CRAN website (see Manuals\Contributed Documentations at bottom of the page):
http://www.r-project.org/
Here you can find surely guide for the majority of the statistical techniques you are planning to use. Please consider that sometime you can need some other tutorials or guides so my suggestion is to be aware on the powerful search engines which allow to find statistical techniques of interest. So you can use:
the search in the CRAN website
http://www.r-project.org/
Rseek
http://www.rseek.org/
R-Bloggers
http://www.r-bloggers.com/
CRAN Task Views
http://cran.r-project.org/web/views/
CRANtastic
http://crantastic.org/
Inside-R
http://www.inside-r.org/
R Graphical Manual
http://rgm3.lab.nig.ac.jp/RGM/R_image_list?navi_idx=0
Last but not least you can use from the package "sos" a function: findFn which allow to search of the method (for example) in the various package it is possible to install.
Kind Regards,
I recommend "Learning Statistics with R" by Dan Navarro from University of Adelaide. You can download the book here:
http://health.adelaide.edu.au/psychology/ccs/teaching/lsr/
Dear Thomas, I second Xuanlong's recommendation for the "Intro to R tutorial". It summarizes very important basics. There is a Youtube video that covers the Intro to R at
http://www.youtube.com/playlist?list=PLOU2XLYxmsIK9qQfztXeybpHvru-TrqAP
With just these basics behind you, and as with any programming language, the best way to learn is to start programming on a problem that interests you. Regardless of what platform you use, you should have two windows open, at least, one interactive and one text editor. This can be done many ways: Rstudio to emacs... Use the manual: "?plot", "?randomForest", etc. Every manual page has one or more examples that you can run. This, in my opinion, is the best text.
Bob
Dear Thomas,
I recommend "R in Action" or some online statistics course whit R in coursera... Look this links...
https://www.coursera.org/course/statistics
https://www.coursera.org/course/stats1
https://www.coursera.org/course/compdata
Best regards...