Learn R

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

4.46 out of 5 stars
266,918 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.46 out of 5 stars
1,112 ratings
  1. 5 stars
  2. 4 stars
  3. 3 stars
  4. 2 stars
  5. 1 star
  • I tried a couple other tactics to learn R and this gave me by far the greatest foundation. The free version of the course in conjunction with some exercises will really give you a quick base for programming in R!
    William E.
    Verified Learner
  • I really enjoyed the lessons that forced me to write code and prove that I understand it. The hints were also very helpful at the times when I felt stuck.
    Nicholas P.
    Verified Learner
  • Each topic and its subsections were formatted in an easily digestible way. Each section built upon concepts learned in previous topics and sections so there was continuity and flow in learning.
    Nicole T.
    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.