This page lists a number of free resources (including textbooks, blog posts, and videos) to help beginner and intermediate R programmers learn useful aspects of the language along with a very commonly used itegrated development environment (RStudio).
Introduction to R
Interactive/Video materials
- Data analysis and visualization using R
- Framed as an interactive textbook, this course includes text and video explanations along wih interactive exercises to teach R.
- RStudio Primers
- This is a collection of introductory tutorials created by the RStudio team and hosted on the RStudioCloud. These tutorials can be done online easing any issues of getting R working on the desktop initially.
- swirl
swirl
is a really interesting project to learn R. It is an R package which allows you to run a command in R which then installs an interactive course which you can complete directly from R.
Introduction to RStudio
Interactive/Video materials
- Programming in RStudion parts 1-3
- A set of video tutorials demonstrating how to use all the features in RStudio to maximise productivity when writing R code.
- Studio managing parts 1-3
- A set of videos exploring how to use RStudio projects and associated features to best manage project code bases in RStudio.
(Slightly) More advanced R
- R for data science by Hadley Wickham
- While still starting with the relative basics this book explains and demonstrates how to undertake successful data analysis in R.
- Advanced R by Hadley Wickham
- This book expands on some of the more seldomly used (at least by novices) features of R and details some of the more hidden aspects of the language.
- R Markdown: The definitive guide by Yihui Xie et al.
- RMarkdown is an extremely useful R package, especially for reproducible science, allowing code (R and others) to be intermingled with explanatory prose. Code can be run and results shown within the RMarkdown document. This book explains every detail needed to start working with RMarkdown
- R Packages by Hadley Wickham
- Packages in R are collections of functions organised in a standardised manner along with associated documentation, metadata, unit tests, and data. Packages act as the fundamental unit of sharable code in R. This books explains how to build your own packages within a standard framework using a very user-friendly work-flow.
Other tips and tricks
- CRAN task views
- CRAN Task Views are documents that summarize R resources on CRAN in particular areas of application, helping your to navigate the maze of thousands of CRAN packages.
- R style guide
- A strongly opinionated, but very useful style guide for the R programming language
- Using the
foreach
package
- An introduction to the
foreach
package a very useful tool for creating parallel R code
Useful websites/blogs to look into