This list was originally published as part of the Computerworld Beginner's Guide to R but has since been expanded to also include resources for advanced beginner and intermediate users. If you're just starting out with R, I recommend first heading to the Beginner's Guide.
Want to see a sortable list of resources by subject and type? Expand the chart below. You can also search for key terms within the chart by using the search box below.
|R Cookbook||general R||book or ebook|
|R Graphics Cookbook||graphics||book or ebook|
|R In Action||general R||book or ebook|
|The Art of R Programming||general R||book or ebook|
|R for Everyone||general R||book or ebook|
|R in a Nutshell||general R||book or ebook|
|R For Dummies||general R||book or ebook|
|Statistical Analysis with R||general R||book or ebook|
|Introduction to Data Science||data analysis||ebook|
|Reproducible Research with R and RStudio||Reports in R||book or ebook|
|Exploring Everyday Things with R and Ruby||general R||book or ebook|
|Visualize This||graphics||book or ebook|
|Statistics and R on Google+||general R||community|
|#rstats hashtag||general R||community|
|R User Meetups||general R||community|
|RStudio Documentation||R programming||documentation|
|CRAN||general R||official R site|
|Try R||general R||online interactive class|
|4 data wrangling tasks in R for advanced beginners||general R||online reference|
|Data manipulation tricks: Even better in R||general R||online reference & PDF|
|Cookbook for R||general R||online reference|
|Quick-R||general R||online reference|
|Short List of R Commands||general R||online reference|
|FAQ About R||general R||online reference|
|Chart Chooser in R||graphics-ggplot2||online reference|
|ggplot2 Cheat Sheet||graphics-ggplot2||online reference|
|Ten Things You Can Do in R That You Wouldve Done in Microsoft Excel||for Excel users||online reference|
|R Reference Card for Data Mining||data mining|
|Spatial Cheat Sheet||geospatial||online reference|
|Web interface for ggplot2||graphics-ggplot2||online tool|
|R Tutorial||general R||online tutorials|
|r4stats.com||general R||online tutorials|
|How to Visualize and Compare Distributions||graphics||online tutorials|
|Getting Started with Charts in R||graphics||online tutorials|
|Producing Simple Graphs with R||graphics||online tutorials|
|Quick Intro to ggplot2||graphics-ggplot2||online tutorials|
|Introducing R||general R||online tutorials|
|Using R||general R||online tutorials|
|Aggregating and restructuring data||data reshaping||online tutorials|
|Higher Order Functions in R||R programming||online tutorials|
|Introductory Econometrics Using Quandl and R||statistics||online tutorials|
|ggplot2 Guide||graphics-ggplot2||online tutorials|
|r4stats.com||general R||online tutorials|
|Introduction to dplyr||general R||online tutorials|
|Applied Time Series Analysis||time series||online tutorials|
|13 resources for time series analysis||time series||online tutorials|
|knitr in a knutshell||reproducible research||online tutorials|
|The Undergraduate Guide to R||general R||PDF or Google Doc|
|Little Book of R for Time Series||time series||online tutorials|
|ggplot2 workshop presentation||graphics-ggplot2||online tutorials|
|More and Fancier Graphics||graphics||online tutorials|
|How to turn CSV data into interactive visualizations with R and rCharts||graphics||online tutorials|
|R Reference Card||general R|
|Introduction to R||general R|
|Handling and Processing Strings in R||text in R|
|Learning Statistics with R||statistics|
|R: A Self-learn Tutorial||general R|
|Introduction to ggplot2||graphics-ggplot2|
|Statistics with R Computing and Graphics||general R|
|Using R for your Basic Statistical Needs||general R||R code|
|Short Courses by Hadley Wickham||general R, graphics||R code and slides|
|Introducing R||general R||R code and slides|
|R site search||general R||search|
|R mailing list search||general R||search, community|
|RStudio IDE||R programming||software|
|Revolution R||R programming||software|
|Enterprise Runtime for R||R programming||software|
|Shiny for interactive Web apps||interactive graphics||software|
|R Style Guides||R programming||style guide|
|Up and Running with R||general R||video class|
|Computing for Data Analysis||general R||video class|
|Data Analysis||data analysis||video class|
|Statistics One||statistics||video class|
|Twotorials||general R||video tutorials|
|Google Developers' Intro to R||general R||video tutorials|
|Programming in R at Dummies.com||general R||website|
|10 R Packages I Wish I Knew About Earlier||R packages||blog post|
|R programming for those coming from other languages||R programming||blog post|
|A brief introduction to 'apply' in R||general R||blog post|
|History of R Financial Time Series Plotting||graphics||blog post|
|Translating between R and SQL||general R||blog post|
|Graphs & Charts in base R, ggplot2 and rCharts||graphics||blog post|
|When to use Excel, when to use R?||for Excel users||blog post|
|A First Step Towards R From Spreadsheets||for Excel users||blog post|
|Using dates and times in R||R programming||blog post|
|Scraping Pro-Football Data and Interactive Charts using rCharts, ggplot2, and shiny||graphics||blog post|
|Grouping & Summarizing Data in R||general R||slide presentation|
|R Instructor||general R||app|
Books and e-books
R Cookbook. Like the rest of the O'Reilly Cookbook series, this one offers how-to "recipes" for doing lots of different tasks, from the basics of R installation and creating simple data objects to generating probabilities, graphics and linear regressions. It has the added bonus of being well written. If you like learning by example or are seeking a good R reference book, this is well worth adding to your reference library. By Paul Teetor, a quantitative developer working in the financial sector.
R Graphics Cookbook. If you want to do beyond-the-basics graphics in R, this is a useful resource both for its graphics recipes and brief introduction to ggplot2. While this goes way beyond the graphics capabilities that I need in R, I'd recommend this if you're looking to move beyond advanced-beginner plotting. By Winston Chang, a software engineer at RStudio.
R in Action: Data analysis and graphics with R. This book aims at all levels of users, with sections for beginning, intermediate and advanced R ranging from "Exploring R data structures" to running regressions and conducting factor analyses. The beginner's section may be a bit tough to follow if you haven't had any exposure to R, but it offers a good foundation in data types, imports and reshaping once you've had a bit of experience. There are some particularly useful explanations and examples for aggregating, restructuring and subsetting data, as well as a lot of applied statistics. Note that if your interest in graphics is learning ggplot2, there's relatively little on that here compared with base R graphics and the lattice package. You can see an excerpt from the book online: Aggregation and restructuring data. By Robert I. Kabacoff.
The Art of R Programming. For those who want to move beyond using R "in an ad hoc way ... to develop[ing] software in R." This is best if you're already at least moderately proficient in another programming language. It's a good resource for systematically learning fundamentals such as types of objects, control statements (unlike many R purists, the author doesn't actively discourage for loops), variable scope, classes and debugging -- in fact, there's nearly as large a chapter on debugging as there is on graphics. With some robust examples of solving real-world statistical problems in R. By Norman Matloff.
R in a Nutshell. A reasonably readable guide to R that teaches the language's fundamentals -- syntax, functions, data structures and so on -- as well as how-to statistical and graphics tasks. Useful if you want to start writing robust R programs, as it includes sections on functions, object-oriented programming and high-performance R. By Joseph Adler, a senior data scientist at LinkedIn.
Visualize This. Note; Most of this book is not about R, but there are several examples of visualizing data with R. And there's so much other interesting info here about how to tell stories with data that it's worth a read. By Nathan Yau, who runs the popular Flowing Data blog and whose doctoral dissertation was on "personal data collection and how we can use visualization to learn about ourselves."
R For Dummies. I haven't had a chance to read this one, but it's garnered some good reviews on Amazon.com. If you're familiar with the Dummies series and have found them helpful in the past, you might want to check this one out. You can get a taste of the authors' style in the Programming in R section of Dummies.com, which has more than a 100 short sections such as How to construct vectors in R and How to use the apply family of functions in R. By Joris Meys and Andrie de Vries.
Introduction to Data Science. It's highly readable, packed with useful examples and free -- what more could you want? This e-book isn't technically an "R book," but it uses R for all of its examples as it teaches concepts of data analysis. If you're familiar with that topic you may find some of the explanations rather basic, but there's still a lot of R code for things like analyzing tweet rates (including a helpful section on how to get Twitter OAuth authorization working in R), simple map mashups and basic linear regression. Although Stanton calls this an "electronic textbook," Introduction to Data Science has a conversational style that's pleasantly non-textbook like. There used to be a downloadable PDF, but now the only versions are for OS X or iOS.
R for Everyone. Author Jared P. Lander promises to go over "20% of the functionality needed to accomplish 80% of the work." And in fact, topics that are actually covered, are covered pretty well; but be warned that some items appearing in the table of contents can be a little thin. This is still a well-organized reference, though, with information that beginning and intermediate users might want to know: importing data, generating graphs, grouping and reshaping data, working with basic stats and more.
Statistical Analysis With R: Beginner's Guide. This book has you "pretend" you're a strategist for an ancient Chinese kingdom analyzing military strategies with R. If you find that idea hokey, move along to see another resource; if not, you'll get a beginner-level introduction to various tasks in R, including tasks you don't always see in an intro text, such as multiple linear regressions and forecasting. Note: My early e-version had a considerable amount of bad spaces in my Kindle app, but it was still certainly readable and usable.
Reproducible Research with R and RStudio. Although categorized as a "bioinformatics" textbook (and priced that way - even the Kindle edition is more than $50), this is more general advice on steps to make sure you can document and present your work. This includes numerous sections on creating report documents using the knitr package, LaTeX and Markdown -- tasks not often covered in-depth in general R books. The author has posted source code for generating the book on GitHub, though, if you want to create an electronic version of it yourself.
Exploring Everyday Things with R and Ruby. This book oddly goes from a couple of basic introductory chapters to some fairly robust, beyond-beginner programming examples; for those who are just starting to code, much of the book may be tough to follow at the outset. However, the intro to R is one of the better ones I've read, including lot of language fundamentals and basics of graphing with ggplot2. Plus experienced programmers can see how author Sau Sheong Chang splits up tasks between a general language like Ruby and the statistics-focused R.
4 data wrangling tasks in R for advanced beginners. This follow-up to our Beginner's Guide outlines how to do several specific data tasks in R: add columns to an existing data frame, get summaries, sort results and reshape data. With sample code and explanations.
Data manipulation tricks: Even better in R. From working with dates to reshaping data to if-then-else statements, see how to perform common data munging tasks. You can also download these R tips & tricks as a PDF (free Insider registration required).
Cookbook for R. Not to be confused with the R Cookbook book mentioned above, this website by software engineer Winston Chang (author of the R Graphics Cookbook) offers how-to's for tasks such as data input and output, statistical analysis and creating graphs. It's got a similar format to an O'Reilly Cookbook; and while not as complete, can be helpful for answering some "How do I do that?" questions.
Quick-R. This site has a fair amount of samples and brief explanations grouped by major category and then specific items. For example, you'd head to "Stats" and then "Frequencies and crosstabs" to get an explainer of the table() function. This ranges from basics (including useful how-to's for customizing R startup) through beyond-beginner statistics (matrix algebra, anyone?) and graphics. By Robert I. Kabacoff, author of R in Action.
R Reference Card. If you want help remembering function names and formats for various tasks, this 4-page PDF is quite useful despite its age (2004) and the fact that a link to what's supposed to be the latest version no longer works. By Tom Short, an engineer at the Electric Power Research Institute.
A short list of R the most useful commands. Commands grouped by function such as input, "moving around" and "statistics and transformations." This offers minimal explanations, but there's also a link to a longer guide to Using R for psychological research. HTML format makes it easy to cut and paste commands. Also somewhat old, from 2005. By William Revelle, psychology professor at Northwestern University.
Chart Chooser in R. This has numerous examples of R visualizations and sample code to go with them, including bar, column, stacked bar & column, bubble charts and more. It also breaks down the visualizations by categories like comparison, distribution and trend. By Greg Lamp, based on Juice Labs' Chart Chooser for Excel and PowerPoint.
Beautiful Plotting in R: A ggplot2 Cheatsheet. Easy to read with a lot of useful information, from starting with default plots to customizing title, axes, legends; creating multi-panel plots and more. By Zev Ross.
Frequently Asked Questions about R. Some basics about reading, writing, sorting and shaping data as well as a lineup of how to do various statistical operations and a few specialized graphics such as spaghetti plots. From UCLA's Institute for Digital Research and Education.
R Reference Card for Data Mining. This is a task-oriented compilation of useful R packages and functions for things ranging from text mining and time series analysis to more general subjects like graphics and data manipulation. Since decriptions are somewhat bare-boned, this will likely be more useful to either remind you of functions you've seen before or give you suggestions for things to try. For much more on the subject, head to the author's R and Data Mining website, which includes examples and other documentation. including a substantial portion of his book R and Data Mining published by Elsevier in 2012. By Yanchang Zhao.
Spatial Cheat Sheet. For those doing GIS and spatial analysis work, this list offers some key functions and packages for working with spatial vector and raster data. By Barry Stephen Rowlingson at Lancaster University in the U.K.
Web interface for ggplot2. This online tool by UCLA Ph.D. candidate Jeroen Ooms creates an interactive front end for ggplot2, allowing users to input tasks they want to do and get a plot plus R code in return. Useful for those who want to learn more about using ggplot2 for graphics without having to read through lengthy documentation.
Ten Things You Can Do in R That You Wouldve Done in Microsoft Excel. From the R for Dummies Web site, these code samples aim to help Excel users feel more comfortable with R.