Learn R

Learn to code in R for data analysis and visualization.

4.47 out of 5 stars
250,651 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.47 out of 5 stars
1,189 ratings
  1. 5 stars
  2. 4 stars
  3. 3 stars
  4. 2 stars
  5. 1 star
  • I found it to be a great course. It taught me the basics of R but much more. This course includes how to use and understand R and statistics, which I find great. Because what good would it be if you know the language but not what to do with it.
    Verified Learner
  • This is a great way to learn the fundamentals of R. The step-by-step tutorials allow you to build familiarity with common commands and some much needed muscle memory so that you can reflexively recall and execute a command at a moment’s notice.
    Harsimran B.
    Verified Learner
  • This is one of the best online learning experiences I have ever had. Everything about this course feels right—the content, the UI, and delivery.
    J. K.
    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.