This is my collection of resources related to R.
- An Introduction to R (PDF), a basic introduction for beginners.
- R Data Import/Export (PDF), a data import and export guide.
- Writing R Extensions (PDF), a development guide for R.
- The R Language Definition (PDF), a more technical discussion of the R language itself.
- R Internals (PDF), internal structures and coding guidelines.
- R Reference Index (PDF), contains all help files of the R standard and recommended packages in printable form.
- The Statistical Sleuth (3rd Edition) In R by Nicholas Horton, Linda Loi, Kate Aloisio, and Ruobing Zhang
- Packages in the standard library
- R mailing lists: The R-help Archives
- Task Views - Summary of useful packages by subject area.
- Free books, commercially available books and other user-contributed documents (English and Chinese) on R in a variety of languages.
- The R Journal publishes research articles and summaries of major revisions.
- R FAQ - Official list of R FAQs
- Graphic Displays & Dynamic Graphics & Graphic Devices & Visualization
- Multivariate Statistics
- Reproducible Research
- Statistics for the Social Sciences
- Psychometric Models and Methods
- The R Inferno by Patrick Burns
- Impatient R by Patrick Burns
- A Little Book of R for Biomedical Statistics (PDF) by Avril Coghlan
- A Little Book of R for Multivariate Analysis (PDF) by Avril Coghlan
- A Little Book of R for Time Series (PDF) by Avril Coghlan
- Practical Regression and Anova Using R (PDF) by Julian Faraway
- Multivariate Statistics with R (PDF) by Paul Hewson
- learnR by Yun Ken
- Introduction to Probability and Statistics Using R (IPSUR) by G. Jay Kerns
- Introduction to Statistical Thought (PDF) by Michael Lavine
- simpleR – Using R for Introductory Statistics by John Verzani
- The Undergraduate Guide to R (PDF) by Trevor Martin
- R for SAS and SPSS Users (PDF) by Bob Muenchen (early draft only)
- Learning Statistics with R (PDF) by Dan Navarro
- An introduction to psychometric theory with applications in R by William Revelle
- Using R for psychological research: A simple guide to an elegant language by William Revelle (Shorter version)
- Rabbit: Introduction to R by Nicola Sturaro
- Advanced R by Hadley Wickham
- R Packages by Hadley Wickham
- Introduction to Statistical Thinking (With R, Without Calculus) (PDF) by Benjamin Yakir
- R Programming wikibook - A collaborative textbook
- The openair manual open-source tools for analysing air pollution data by David C. Carslaw
- Introduction to the Practice of Statistics (6th edition) in R by Nicholas Horton and Ben Baumer
- Cheatsheets by RStudio
- Data Visualization Cheat Sheet - ggplot2
- Package Development Cheat Sheet - devtools
- Data Wrangling Cheat Sheet (中文版)- dplyr & tidyr
- R Markdown Cheat Sheet (中文版)
- R Markdown Reference Guide
- Shiny Cheat Sheet (中文版)
- R Functions For Regression Analysis by Vito Ricci
- R Reference Card 2.0 by Matt Baggott
- R Reference Card for Data Mining by Yanchang Zhao
- R Reference Card Introductory Statistics by Anthony Tanbakuchi
- Try R - A free interactive web-based R tutorial
- [Swirl][44] - R-package to learn R interactively
- R & Data Science on DataCamp
- Introduction to Data Science with R - How to Manipulate, Visualize, and Model Data with the R Language by Garrett Grolemund
- [Coursera][45] - Learn how to use R for effective data analysis
- [edX][47] - Basic Statistics and R (basic course, not just for life sciences)
- [RPubs][43] - Easy web publishing from R
- Application of Epidemologic Resarch Methods II (P9489) by Charles DiMaggio
- Courses taught by Ross Ihaka, one of the creators of R, at University of Auckland
- Psychology 405: Psychometric Theory by William Revelle at Northwestern University
- Managing large datasets in R – ff examples and concepts by Jens Oehlschlãgel
- Rosetta Code
- Learn X in Y minutes (中文版)
- Hyperpolyglot (R/MATLAB/Python)
- Project Euler - Try solving mathematical problems using R
- The Journal of Statistical Software has many papers about R packages
- The knitr site by Yihui Xie has resources on reproducible research using that package
- R by example by Ajay Shah
- R language for programmers by John D. Cook
- Hands on dplyr tutorial for faster data manipulation in R by Kevin Markham
- R Examples Repository by Daniel Wollschlaeger
- Hands-on dplyr tutorial for faster data manipulation in R
- Going deeper with dplyr: New features in 0.3 and 0.4
- LISA Short courses at VirginiaTech
- How to make a great R reproducible example
- What is the most useful R trick?
- How to get help in R?
- r-faq - Tag for frequently asked R questions on StackOverflow
- R internal coding standards
- Bioconductor coding standards
- Google's R Style Guide
- Hadley Wickham’s standard and Stat 405
- Henrik Bengtsson’s R Coding Coventions and Aroma RCC
- Paul E Johnson’s
Recommended additional R resources include:
- Rdocumentation - Find and browse documentations for R packages
- Cookbook for R by Winston Chang - Solutions to common tasks in analyzing data.
- Quick-R by Rob Kabacoff, author of R in Action - Accessing the power of R. Maintained
- R for cats and cat lovers - An intro to R for new programmers.
- R-bloggers - R blog aggregator.
- Inside-R and the R Graphical Manual - Enhanced versions of CRAN's R Reference Index.
- R Tutorials by William B. King
- R Tips by Paul E. Johnson
- Statistics with R by Vincent Zoonekynd
- R Tutorial by Kelly Black
Packages change the way you use R.
- magrittr - Let's pipe it.
- pipeR - Multi-paradigm Pipeline Implementation.
- lambda.r - Functional programming and simple pattern matching in R.
Packages for cooking data.
- dplyr - Blazing fast data frames manipulation and database query.
- data.table - Fast data manipulation in a short and flexible syntax.
- reshape2 - Flexible rearrange, reshape and aggregate data.
- tidyr - Easily tidy data with spread and gather functions.
- broom - Convert statistical analysis objects into tidy data frames.
- rlist - A toolbox for non-tabular data manipulation with lists.
Packages for showing data.
- ggplot2 - An implementation of the Grammar of Graphics.
- ggvis - Interactive grammar of graphics for R.
- rCharts - Interactive JS Charts from R.
- lattice - A powerful and elegant high-level data visualization system.
- Cairo - R graphics device using cairo graphics library for creating high-quality display output.
- extrafont - Tools for using fonts in R graphics.
- showtext - Enable R graphics device to show text using system fonts.
- dygraphs - Charting time-series data in R.
Packages for literate programming.
- knitr - Easy dynamic report generation in R.
- xtable - Export tables to LaTeX or HTML.
- sjPlot - Data visualization for statistics in social science
- rapport - An R templating system.
- rmarkdown - Dynamic documents for R.
- slidify - Generate reproducible html5 slides from R markdown.
Packages for packages.
- devtools - Tools to make an R developer's life easier.
- testthat - An R package to make testing fun.
- R6 - Simpler, faster, lighter-weight alternative to R's built-in classes.
- pryr - Make it easier to understand what's going on in R.
- roxygen - Describe your functions in comments next to their definitions.
- lineprof - Visualise line profiling results in R.
- packrat - Make your R projects more isolated, portable, and reproducible.
- installr - Functions for installing softwares from within R.
- Rocker - R configurations for Docker.
- lubridate
- stringr
- tidyr
- dplyr
- ggplot2
- ggvis
- devtools
- roxygen2
- testthat
- Introduction of R Programming Language on StackOverview by David Locke
- awesome-R by Qin Wenfeng