Skip to main content
Home

R courses

R is a highly versatile and powerful programming language, celebrated for its capabilities in statistical analysis, data visualization, and its comprehensive collection of packages.
R courses icon
Group

Training 2 or more people?

Try DataCamp for Business

Recomended For Starters

Become an R programmer and develop your R skills with interactive courses, tracks and projects, curated by real-world experts.

course

Introduction to R

BeginnerSkill Level
4 hours
23.7K
Master the basics of data analysis in R, including vectors, lists, and data frames, and practice R with real data sets.

track

R Programming Fundamentals

22 hours
549
Level-up your R programming skills! Learn how to work with common data structures, optimize code, and write your own functions.

Not sure where to start?

Take an Assessment
154 results

course

Introduction to R

BeginnerSkill Level
4 hours
23.7K
Master the basics of data analysis in R, including vectors, lists, and data frames, and practice R with real data sets.

course

Intermediate R

BeginnerSkill Level
6 hours
7.1K
Continue your journey to becoming an R ninja by learning about conditional statements, loops, and vector functions.

course

Introduction to the Tidyverse

BeginnerSkill Level
4 hours
9.1K
Get started on the path to exploring and visualizing your own data with the tidyverse, a powerful and popular collection of data science tools within R.

course

Introduction to Statistics in R

IntermediateSkill Level
4 hours
3.3K
Grow your statistical skills and learn how to collect, analyze, and draw accurate conclusions from data.

course

Data Manipulation with dplyr

BeginnerSkill Level
4 hours
4.6K
Build Tidyverse skills by learning how to transform and manipulate data with dplyr.

course

Introduction to Regression in R

IntermediateSkill Level
4 hours
2.7K
Predict housing prices and ad click-through rate by implementing, analyzing, and interpreting regression analysis in R.

course

Introduction to Importing Data in R

BeginnerSkill Level
3 hours
2.2K
In this course, you will learn to read CSV, XLS, and text files in R using tools like readxl and data.table.

course

Exploratory Data Analysis in R

IntermediateSkill Level
4 hours
2K
Learn how to use graphical and numerical techniques to begin uncovering the structure of your data.

course

Joining Data with dplyr

BeginnerSkill Level
4 hours
1.8K
Learn to combine data across multiple tables to answer more complex questions with dplyr.

course

Cleaning Data in R

IntermediateSkill Level
4 hours
1.4K
Learn to clean data as quickly and accurately as possible to help you move from raw data to awesome insights.

course

Hypothesis Testing in R

IntermediateSkill Level
4 hours
1.4K
Learn how and when to use hypothesis testing in R, including t-tests, proportion tests, and chi-square tests.

course

Intermediate Regression in R

IntermediateSkill Level
4 hours
1.1K
Learn to perform linear and logistic regression with multiple explanatory variables.

course

Introduction to R for Finance

BeginnerSkill Level
4 hours
935
Learn essential data structures such as lists and data frames and apply that knowledge directly to financial examples.

course

Reporting with R Markdown

IntermediateSkill Level
4 hours
1K
R Markdown is an easy-to-use formatting language for authoring dynamic reports from R code.

course

Reshaping Data with tidyr

IntermediateSkill Level
4 hours
776
Transform almost any dataset into a tidy format to make analysis easier.

course

Writing Efficient R Code

IntermediateSkill Level
4 hours
883
Learn to write faster R code, discover benchmarking and profiling, and unlock the secrets of parallel programming.

course

Foundations of Probability in R

BeginnerSkill Level
4 hours
883
In this course, youll learn about the concepts of random variables, distributions, and conditioning.

course

Sampling in R

IntermediateSkill Level
4 hours
878
Master sampling to get more accurate statistics with less data.

course

Foundations of Inference in R

IntermediateSkill Level
4 hours
601
Learn how to draw conclusions about a population from a sample of data via a process known as statistical inference.

course

Linear Algebra for Data Science in R

IntermediateSkill Level
4 hours
216
This course is an introduction to linear algebra, one of the most important mathematical topics underpinning data science.

course

Communicating with Data in the Tidyverse

BeginnerSkill Level
4 hours
405
Leverage the power of tidyverse tools to create publication-quality graphics and custom-styled reports that communicate your results.

course

Modeling with Data in the Tidyverse

IntermediateSkill Level
4 hours
535
Discover different types in data modeling, including for prediction, and learn how to conduct linear regression and model assessment measures in the Tidyverse.

course

Supervised Learning in R: Regression

IntermediateSkill Level
4 hours
471
In this course you will learn how to predict future events using linear regression, generalized additive models, random forests, and xgboost.

course

Intermediate R for Finance

BeginnerSkill Level
5 hours
601
Learn about how dates work in R, and explore the world of if statements, loops, and functions using financial examples.

course

Unsupervised Learning in R

IntermediateSkill Level
4 hours
522
This course provides an intro to clustering and dimensionality reduction in R from a machine learning perspective.

course

Building Web Applications with Shiny in R

IntermediateSkill Level
4 hours
211
Shiny is an R package that makes it easy to build interactive web apps directly in R, allowing your team to explore your data as dashboards or visualizations.

course

Intermediate Importing Data in R

IntermediateSkill Level
3 hours
329
Parse data in any format. Whether its flat files, statistical software, databases, or data right from the web.

course

Manipulating Time Series Data in R

IntermediateSkill Level
4 hours
348
Master time series data manipulation in R, including importing, summarizing and subsetting, with zoo, lubridate and xts.

course

RNA-Seq with Bioconductor in R

IntermediateSkill Level
4 hours
203
Use RNA-Seq differential expression analysis to identify genes likely to be important for different diseases or conditions.

course

Machine Learning with caret in R

AdvancedSkill Level
4 hours
244
This course teaches the big ideas in machine learning like how to build and evaluate predictive models.

course

Time Series Analysis in R

IntermediateSkill Level
4 hours
294
Learn the core techniques necessary to extract meaningful insights from time series data.

course

Experimental Design in R

IntermediateSkill Level
4 hours
293
In this course youll learn about basic experimental design, a crucial part of any data analysis.

course

Introduction to Bioconductor in R

IntermediateSkill Level
4 hours
165
Learn to use essential Bioconductor packages for bioinformatics using datasets from viruses, fungi, humans, and plants!

course

Visualization Best Practices in R

BeginnerSkill Level
4 hours
450
Learn to effectively convey your data with an overview of common charts, alternative visualization types, and perception-driven style enhancements.

course

Generalized Linear Models in R

IntermediateSkill Level
4 hours
307
The Generalized Linear Model course expands your regression toolbox to include logistic and Poisson regression.

course

Forecasting in R

IntermediateSkill Level
5 hours
201
Learn how to make predictions about the future using time series forecasting in R including ARIMA models and exponential smoothing methods.

course

Network Analysis in R

IntermediateSkill Level
4 hours
248
Learn to analyze and visualize network data with the igraph package and create interactive network plots with threejs.

course

ARIMA Models in R

IntermediateSkill Level
4 hours
277
Become an expert in fitting ARIMA (autoregressive integrated moving average) models to time series data using R.

course

Cluster Analysis in R

IntermediateSkill Level
4 hours
267
Develop a strong intuition for how hierarchical and k-means clustering work and learn how to apply them to extract insights from your data.

course

Web Scraping in R

IntermediateSkill Level
4 hours
61
Learn how to efficiently collect and download data from any website using R.

course

Survival Analysis in R

IntermediateSkill Level
4 hours
218
Learn to work with time-to-event data. The event may be death or finding a job after unemployment. Learn to estimate, visualize, and interpret survival models!

course

Building Dashboards with shinydashboard

BeginnerSkill Level
4 hours
110
Learn to create interactive dashboards with R using the powerful shinydashboard package. Create dynamic and engaging visualizations for your audience.

course

Analyzing Survey Data in R

IntermediateSkill Level
4 hours
144
Learn survey design using common design structures followed by visualizing and analyzing survey results.

course

Visualizing Geospatial Data in R

IntermediateSkill Level
4 hours
123
Learn to read, explore, and manipulate spatial data then use your skills to create informative maps using R.

course

Categorical Data in the Tidyverse

BeginnerSkill Level
4 hours
256
Get ready to categorize! In this course, you will work with non-numerical data, such as job titles or survey responses, using the Tidyverse landscape.

course

Dealing With Missing Data in R

BeginnerSkill Level
4 hours
179
Make it easy to visualize, explore, and impute missing data with naniar, a tidyverse friendly approach to missing data.

course

Credit Risk Modeling in R

IntermediateSkill Level
4 hours
85
Apply statistical modeling in a real-life setting using logistic regression and decision trees to model credit risk.

course

Machine Learning in the Tidyverse

IntermediateSkill Level
5 hours
99
Leverage tidyr and purrr packages in the tidyverse to generate, explore, and evaluate machine learning models.

course

Quantitative Risk Management in R

BeginnerSkill Level
5 hours
90
Work with risk-factor return series, study their empirical properties, and make estimates of value-at-risk.

course

Factor Analysis in R

AdvancedSkill Level
4 hours
127
Explore latent variables, such as personality, using exploratory and confirmatory factor analyses.

course

Bond Valuation and Analysis in R

IntermediateSkill Level
4 hours
216
Learn to use R to develop models to evaluate and analyze bonds as well as protect them from interest rate changes.

course

Data Manipulation with data.table in R

BeginnerSkill Level
4 hours
101
Master core concepts about data manipulation such as filtering, selecting and calculating groupwise statistics using data.table.

course

Developing R Packages

IntermediateSkill Level
4 hours
99
Learn to develop R packages and boost your coding skills. Discover package creation benefits, practice with dev tools, and create a unit conversion package.

course

A/B Testing in R

IntermediateSkill Level
4 hours
48
Learn the basics of A/B testing in R, including how to design experiments, analyze data, predict outcomes, and present results through visualizations.

course

Analyzing Social Media Data in R

IntermediateSkill Level
4 hours
133
Extract and visualize Twitter data, perform sentiment and network analysis, and map the geolocation of your tweets.

course

ChIP-seq with Bioconductor in R

IntermediateSkill Level
4 hours
89
Learn how to analyse and interpret ChIP-seq data with the help of Bioconductor using a human cancer dataset.

course

Feature Engineering in R

IntermediateSkill Level
4 hours
92
Learn the principles of feature engineering for machine learning models and how to implement them using the R tidymodels framework.

course

Dimensionality Reduction in R

IntermediateSkill Level
4 hours
51
Learn dimensionality reduction techniques in R and master feature selection and extraction for your own data and models.

course

R For SAS Users

BeginnerSkill Level
4 hours
27
Learn how to translate your SAS knowledge into R and analyze data using this free and powerful software language.

course

Business Process Analytics in R

IntermediateSkill Level
4 hours
89
Learn how to analyze business processes in R and extract actionable insights from enormous sets of event data.

course

Support Vector Machines in R

IntermediateSkill Level
4 hours
111
This course will introduce the support vector machine (SVM) using an intuitive, visual approach.

course

Market Basket Analysis in R

IntermediateSkill Level
4 hours
87
Explore association rules in market basket analysis with R by analyzing retail data and creating movie recommendations.

course

Analyzing US Census Data in R

IntermediateSkill Level
4 hours
92
Learn to rapidly visualize and explore demographic data from the United States Census Bureau using tidyverse tools.

course

Practicing Statistics Interview Questions in R

AdvancedSkill Level
4 hours
37
In this course, youll prepare for the most frequently covered statistical topics from distributions to hypothesis testing, regression models, and much more.

course

Programming with dplyr

IntermediateSkill Level
4 hours
80
Learn how to perform advanced dplyr transformations and incorporate dplyr and ggplot2 code in functions.

course

GARCH Models in R

AdvancedSkill Level
4 hours
65
Specify and fit GARCH models to forecast time-varying volatility and value-at-risk.

course

Financial Trading in R

IntermediateSkill Level
5 hours
41
This course covers the basics of financial trading and how to use quantstrat to build signal-based trading strategies.

course

Sentiment Analysis in R

IntermediateSkill Level
4 hours
35
Learn sentiment analysis by identifying positive and negative language, specific emotional intent and making compelling visualizations.

course

Parallel Programming in R

IntermediateSkill Level
4 hours
26
Unlock the power of parallel computing in R. Enhance your data analysis skills, speed up computations, and process large datasets effortlessly.

course

Fraud Detection in R

IntermediateSkill Level
4 hours
13
Learn to detect fraud with analytics in R.

course

Hyperparameter Tuning in R

AdvancedSkill Level
4 hours
52
Learn how to tune your models hyperparameters to get the best predictive results.

course

Bayesian Modeling with RJAGS

AdvancedSkill Level
4 hours
24
In this course, youll learn how to implement more advanced Bayesian models using RJAGS.

course

Forecasting Product Demand in R

IntermediateSkill Level
4 hours
15
Learn how to identify important drivers of demand, look at seasonal effects, and predict demand for a hierarchy of products from a real world example.

course

Defensive R Programming

IntermediateSkill Level
4 hours
37
Learn defensive programming in R to make your code more robust.

course

Building Response Models in R

AdvancedSkill Level
4 hours
35
Learn to build simple models of market response to increase the effectiveness of your marketing plans.

course

Probability Puzzles in R

IntermediateSkill Level
4 hours
31
Learn strategies for answering probability questions in R by solving a variety of probability puzzles.

course

Mixture Models in R

IntermediateSkill Level
4 hours
13
Learn mixture models: a convenient and formal statistical framework for probabilistic clustering and classification.

course

Scalable Data Processing in R

AdvancedSkill Level
4 hours
19
Learn how to write scalable code for working with big data in R using the bigmemory and iotools packages.

track

Associate Data Scientist in R

88 hours
172
Learn how to use R for data science, from data manipulation to machine learning. Gain the career-building skills you need to succeed in data science!

track

R Programming Fundamentals

22 hours
549
Level-up your R programming skills! Learn how to work with common data structures, optimize code, and write your own functions.

track

Data Analyst in R

36 hours
380
From exploratory data analysis with dplyr to data visualization with ggplot2—gain the career-building R skills you need to succeed as a data analyst!

track

Statistics Fundamentals in R

20 hours
166
Discover the power of statistics in R. Learn the key statistical concepts, topics, and techniques used by data scientists and statisticians every day.

track

Data Visualization in R

12 hours
134
Bring your data into focus with data visualizations in R using ggplot2. Learn the graphical and plot-building skills to tell better data stories.

track

R Developer

52 hours
16
From data wrangling to developing packages, gain the career-building skills you need to succeed as an R developer. No prior coding experience needed.

track

Statistician in R

52 hours
49
A statistician collects and analyzes data and helps companies make sense of quantitative data, including spotting trends and making predictions.

track

Data Scientist in R

27 hours
47
Learn data science with R, from data manipulation to machine learning, and gain the skills needed for the Data Scientist in R certification!

track

Quantitative Analyst in R

67 hours
12
Ensure portfolios are risk balanced, help find new trading opportunities, and evaluate asset prices using mathematical models.

track

Machine Learning Fundamentals in R

24 hours
48
Predict categorical and numeric responses via classification and regression, and discover the hidden structure of datasets with unsupervised learning.

track

Data Manipulation in R

16 hours
69
Take the pain out of data manipulation using dplyr and tidyr. Learn how to transform, sort, and filter your data, ready for quick analysis.

track

Analyzing Genomic Data in R

16 hours
95
Start exploring the world of computational biology with essential Bioconductor packages and workflows for next-generation sequencing data analysis.

track

Tidyverse Fundamentals in R

20 hours
79
Import and tidy data, wrangle and visualize data, and model and communicate with data in R with the tidyverse.

track

Shiny Fundamentals in R

16 hours
26
Learn how to use Shiny, a popular R package, to build highly interactive web applications and share your analyses as dashboards and visualizations.

track

Time Series in R

25 hours
65
Learn how to extract meaningful insights from time series data in R. Explore how to model, forecast, and visualize time series data.

track

Importing & Cleaning Data in R

14 hours
94
Gain the real-world skills you need to import and clean your data when working in R—making it possible for you to reveal the insights that matter.

track

Statistical Inference in R

16 hours
58
A core set of skills in statistical inference necessary to understand, interpret, and tune your statistical & machine learning models.

track

Marketing Analytics in R

24 hours
9
Grow the R skills you need to work with social media data, perform market basket analysis, and use machine learning to guide your marketing decisions.

track

Finance Fundamentals in R

28 hours
17
Gain the introductory skills you need to make data-driven financial decisions in R—using the xts, zoo, tidyquant, and PortfolioAnalytics packages.

track

Big Data in R

16 hours
16
Work with big data in R via parallel programming, interfacing with Spark, writing scalable & efficient R code, and learn ways to visualize big data.

track

Text Mining in R

16 hours
8
Discover text mining in R and learn how to extract exciting insights from tweets, product reviews, and books through sentiment analysis in R.

track

Interactive Data Visualization in R

16 hours
6
Build beautiful interactive maps, explore your data by zooming into and hovering over plots, and design engaging, dynamic charts in R.

track

Applied Finance in R

26 hours
13
Grow your financial skills in R. Learn how to evaluate portfolios, calculate credit risk, and create GARCH models to forecast volatility.

track

Network Analysis in R

12 hours
10
Learn how to visualize and analyze network data in R, using igraph and other visualization libraries.

track

Intermediate Tidyverse Toolbox

17 hours
22
Learn to build machine learning models more effectively using more efficient code and clean data in the tidyverse.
See More

Related resources on R

R Project

blog

The Top 8 R Project Ideas for 2024

Discover what R is and all the benefits for using it while giving examples and new ideas for a project.
Elena Kosourova's photo

Elena Kosourova

16 min

blog

Python vs R for Data Science: Which Should You Learn?

This guide will help you answer one of the most frequently asked questions of newcomers in data science and help you choose between R and Python.
Javier Canales Luna's photo

Javier Canales Luna

10 min

cheat sheet

Getting Started with R Cheat Sheet

This cheat sheet will cover an overview of getting started with R. Use it as a handy, high-level reference for a quick start with R. For more detailed R Cheat Sheets, follow the highlighted cheat sheets below.
Richie Cotton's photo

Richie Cotton

9 min


Ready to apply your skills?

Projects allow you to apply your knowledge to a wide range of datasets
to solve real-world problems in your browser

project

NYC Airbnb Data Analysis

0.75 hours
5.4K
Apply data importing and cleaning skills to extract insights about the New York City Airbnb market.

project

Exploring Airbnb Market Trends

1 hour
2.6K
Apply your importing and cleaning data and data manipulation skills to explore New York City Airbnb data.
See More

Frequently asked questions

What is R?

R is a statistical computing and graphics system, consisting of the R language and a run-time environment. Originally designed for statistical purposes, it excels in data analysis, mining, modeling, and creating visualizations. Primarily used for statistics and data science, its applications extend to AI, machine learning, financial analysis, and more. Being open-source and equipped with a wide array of functions and packages, R is popular across multiple fields including academia, finance, and social media.

Do I need any prior programming experience to start learning R?

No prior programming experience is required to start learning R. Our courses are designed to be accessible to beginners, with step-by-step guidance that makes learning R straightforward—even for those new to programming.

How can learning R benefit my career?

Learning R can significantly enhance your career, especially if you are interested in fields like data analysis, statistics, or research. As a language specifically designed for statistical analysis and data visualization, R skills are highly sought after in industries ranging from healthcare and finance to academia and marketing, opening up a wide range of job opportunities and pathways for professional growth.

How do I get started with R?

Beginning your journey with R first involves grasping its fundamental concepts—such as understanding vectors, factors, lists, and data frames. Our Introduction to R programming course covers these basics, providing a solid foundation for further exploration into the R programming language.

What is the difference between R and Python?

Python is a general-purpose programming language, developed to handle a wide range of tasks from data science to web development, making it highly versatile and popular for various applications. R, on the other hand, was created for statistical analysis and excels in data visualization and exploratory data analysis.

Is R worth learning in 2024?

Absolutely, R is worth learning in 2024, especially for those focused on specialized areas like statistical analysis, data visualization, and academic research. Despite the rapid growth of Python, R maintains a strong presence in data science and analytics, valued for its advanced statistical capabilities and dedicated community.

Does Datacamp offer an R Certification?

DataCamp offers two R certifications: Data Analyst and Data Scientist. Both are available in R or Python. If you are interested in either, check out our Certifications here.

Other technologies and topics

technologies