跳至内容
首页

R courses

R is a language for data analysis, statistics, and machine learning. DataCamp’s expert-led R courses offer interactive practice with projects to build job-ready skills fast. Start learning R today and unlock new data science opportunities.

创建您的免费帐户

继续使用 Google显示更多选项


继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
Group

培训 2 人或更多?

试用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.

课程

R 入门

基础技能水平
4.8+
2,407 条评价
4小时
掌握 R 数据分析基础,包括向量、列表和数据框,并用真实数据集实践 R。

学习路径

R编程基础

4.4+
14 条评价
22小时
提升你的 R 编程技能!学习如何使用常见数据结构、优化代码,并编写自己的函数。

不确定从哪里开始?

参加评估

浏览 R 课程和学习路径

课程

R 入门

基础技能水平
4.8+
2,407 条评价
4小时
掌握 R 数据分析基础,包括向量、列表和数据框,并用真实数据集实践 R。

课程

R 中级

基础技能水平
4.8+
981 条评价
6小时
继续你的 R 忍者之旅,学习条件语句、循环和向量函数。

课程

Tidyverse 入门

基础技能水平
4.8+
1,148 条评价
4小时
用 tidyverse 开始探索并可视化自己的数据,这是一套强大且流行的 R 数据科学工具集。

课程

R 统计学入门

中级技能水平
4.7+
2,066 条评价
4小时
提升统计技能,学习如何收集、分析数据并得出准确结论。

课程

使用 dplyr 进行数据处理

基础技能水平
4.8+
706 条评价
4小时
通过学习如何使用 dplyr 转换和处理数据,提升 Tidyverse 技能。

课程

R 中的回归入门

中级技能水平
4.8+
1,465 条评价
4小时
用 R 实现、分析并解读回归分析,预测房价和广告点击率。

课程

R 数据导入入门

基础技能水平
4.7+
360 条评价
3小时
在本课程中,您将学习如何在 R 中使用 readxl 和 data.table 等工具读取 CSV、XLS 和文本文件。

课程

R 中的假设检验

中级技能水平
4.7+
980 条评价
4小时
了解如何以及何时在 R 中使用假设检验,包括 t 检验、比例检验和卡方检验。

课程

R 中的探索性数据分析

中级技能水平
4.7+
1,228 条评价
4小时
学习如何使用图形和数值技术,开始揭示数据的结构。

课程

R 中级回归

中级技能水平
4.8+
785 条评价
4小时
学习使用多个解释变量进行线性回归和逻辑回归。

课程

R 中的数据清洗

中级技能水平
4.7+
800 条评价
4小时
学习如何尽可能快速准确地清洗数据,帮助你从原始数据转化为精彩洞察。

课程

R 函数编写入门

基础技能水平
4.7+
642 条评价
4小时
通过学习编写高效、可复用的函数,提升你的 R 技能。

课程

ggplot2 数据可视化进阶

中级技能水平
4.7+
964 条评价
4小时
学习使用 ggplot2 中的分面、坐标系和统计方法,创建有意义的解释性图表。

课程

R 中的监督学习:分类

中级技能水平
4.7+
142 条评价
4小时
在本课程中,您将学习用于分类的机器学习基础知识。

课程

R 中的抽样

中级技能水平
4.7+
854 条评价
4小时
掌握抽样,用更少的数据获得更准确的统计结果。

课程

高效 R 代码写作

中级技能水平
4.7+
135 条评价
4小时
学习更快编写 R 代码,掌握基准测试和性能分析,并解锁并行编程的秘诀。

课程

R 中的 ARIMA 模型

基础技能水平
4.8+
310 条评价
4小时
用 R 将 ARIMA(自回归积分滑动平均)模型拟合到时间序列数据,成为专家。

课程

R 数据科学的线性代数

中级技能水平
4.7+
135 条评价
4小时
本课程介绍线性代数,这是支撑数据科学的最重要数学主题之一。

课程

R 中的时间序列分析

中级技能水平
4.8+
89 条评价
4小时
掌握从时间序列数据中提取有意义洞察所需的核心技术。

课程

R 中的 Bioconductor 入门

中级技能水平
4.7+
113 条评价
4小时
学习使用病毒、真菌、人类和植物数据集的必备 Bioconductor 包,掌握生物信息学!

课程

使用 tidyr 重塑数据

中级技能水平
4.8+
458 条评价
4小时
将几乎任何数据集转换为整洁格式,让分析更轻松。

课程

R 中的预测

基础技能水平
4.9+
51 条评价
5小时
学习如何使用 R 中的时间序列预测来预测未来,包括 ARIMA 模型和指数平滑方法。

课程

使用 R Markdown 生成报告

中级技能水平
4.7+
330 条评价
4小时
R Markdown 是一种易于使用的格式化语言,可用 R 代码编写动态报告。

课程

R 金融入门

基础技能水平
4.7+
98 条评价
4小时
学习列表和数据框等基础数据结构,并将这些知识直接应用于金融示例。

课程

R 中的时间序列数据处理

中级技能水平
4.8+
286 条评价
4小时
掌握 R 中的时间序列数据处理,包括导入、汇总和子集操作,使用 zoo、lubridate 和 xts。

课程

Intermediate Importing Data in R

中级技能水平
4.8+
280 条评价
3小时
Parse data in any format. Whether its flat files, statistical software, databases, or data right from the web.

课程

R 中的实验设计

中级技能水平
4.7+
340 条评价
4小时
在本课程中,你将学习基础实验设计,这是任何数据分析的关键组成部分。

R 相关资源

R Project

博客

The Top 8 R Project Ideas for 2026

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

14分钟

博客

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分钟

速查表

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分钟


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

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 2025?

Absolutely, R is worth learning in 2025, 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.

其他技术和主题

技术

通过 DataCamp for Mobile 提升您的数据技能

随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。