Learn R

Learn R from vectors and data frames through apply functions, statistical tests, regression and ggplot2 visualisation. Run every example in the browser, free.

Frequently Asked Questions

Is the R course on CodeAcademix free?

Yes. Every lesson in the R track is free to read and every code example is free to run in the browser. No credit card, download or local install is required to start.

Do I need to install anything to learn R?

No. CodeAcademix runs R code directly in your browser, so you can write and execute every exercise without installing a compiler, runtime or editor on your machine.

How long does it take to learn R?

Most learners work through the core R track in four to eight weeks at roughly an hour a day. Because progress is saved per lesson, you can move faster or slower without losing your place.

What is R used for?

R is mainly used for statistics, bioinformatics and data analysis. The CodeAcademix track teaches the language through practical examples drawn from those areas.