Learn R

Learn how to code and clean and manipulate data for analysis and visualization with the R programming language.

4.48 out of 5 stars
256,600 learners enrolled
  • Skill level

  • Time to complete

    Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary
    14 hours
  • Certificate of completion

    Included with paid plans
  • Prerequisites


About this course

R is a widely used programming language that works well with data. It’s a great option for statistical analysis, and has an active development community that’s constantly releasing new packages, making R code even easier to use. It’s built around a central data science concept: The DataFrame, so if you’re interested in data science, analysis, and visualization, you’ll want to learn how to use R.

Skills you'll gain

  • Write code in R

  • Organize, edit, and clean data

  • Create data visualizations


16 lessons • 10 projects • 10 quizzes
  • Certificate of completion available with Plus or Pro

    Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.

The platform

Hands-on learning

Animated GIF of an AI provided error explanation within Codecademy's learning environment
An AI-generated hint within the instructions of a Codecademy project
Animated GIF of Codecademy's Job Readiness Checker tool generating a compatibility report for a senior software engineer role
Animated GIF of building a phone screen interview using Codecademy's Interview Simulator
A fill-in-the-blank JavaScript question in a Codecademy assessment

Earn a certificate of completion

Show your network you've done the work by earning a certificate of completion for each course or path you finish.
  • Show proofReceive a certificate that demonstrates you've completed a course or path.
  • Build a collectionThe more courses and paths you complete, the more certificates you collect.
  • Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.

Learn R course ratings and reviews

4.48 out of 5 stars
1,520 ratings
  1. 5 stars
  2. 4 stars
  3. 3 stars
  4. 2 stars
  5. 1 star
  • Great course to start learning how to code in R and to gain basic (and not so basic) knowledge about statistics at the same time
    Ingrid S.
    Verified Learner
  • This course was incredibly easy to follow along with. The practice exercises within the lesson were very helpful!
    Lindsay A.
    Verified Learner
  • It's a really comprehensive course and teaches you the basics of using R from no knowledge of programming beforehand. When you get stuck, the tips and solution may be able to help you understand what went wrong.
    Jin-Ying N.
    Verified Learner

Our learners work at

  • Google Logo
  • Meta Logo
  • Apple Logo
  • EA Logo
  • Amazon Logo
  • IBM Logo
  • Microsoft Logo
  • Reddit Logo
  • Spotify Logo
  • Uber Logo
  • YouTube Logo
  • Instagram Logo

Frequently asked questions about R

  • R is an open-source programming language designed for data science and statistics. It’s a powerful tool for working with data, and its documentation and supportive community offer helpful resources for new programmers.

Should I Learn R?

Kattie Thorndyke
Jun 28, 2021

If you are new to programming and trying to decide where to start, the choices can seem endless. There are so many programming languages to choose from. How do you know which one is for you?

The R programming language may be one of the languages you ran into in your search. And you might be wondering if R is the language for you. To help you decide, let’s take a look at why someone would want to learn R, what it is used for, and how easy it is to learn.

Continue reading

Join over 50 million learners and start Learn R today!

Unlock additional features with a paid plan

  • Practice Projects

    Guided projects that help you solidify the skills and concepts you're learning.
  • Assessments

    Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.
  • Certificate of Completion

    Earn a document to prove you've completed a course or path that you can share with your network.