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
276,365 learners enrolled
  • Skill level

  • Time to complete

    Approx. 20 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
The platform

Hands-on learning

Don’t just watch or read about someone else coding — write your own code live in our online, interactive platform. You’ll even get AI-driven recommendations on what you need to review to help keep you on track.
Animated demonstration of running code in Codecademy's learning environment

Learn R course ratings and reviews

4.48 out of 5 stars
1,208 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

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.

Join over 50 million learners and start Learn R today!


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.