Introduction to R

These are the course notes for the “Introduction to R” course given by the Monash Bioinformatics Platform.

Some of this material is derived from work that is Copyright © Software Carpentry with a CC BY 4.0 license.

R is both a programming language and an interactive environment for statistics. Today we will be concentrating on R as an interactive environment.

We will be using RStudio, a friendly front end to R. On the day, we will be using RStudio from the web, but you can also install R and RStudio on your laptop. Both R and RStudio are free.

Course material

r-intro.pdf - These notes as a pdf. - Zip file containing data we are working with.


Introducing R


Starting out in R (.Rmd)

Working with data in a matrix (.Rmd)

Working with data in a data frame (.Rmd)

For loops (.Rmd)

Plotting with ggplot2 (.Rmd)

See also

In this series:

Other resources:

These notes on GitHub