跳至内容
首页

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,438 条评价
4小时
掌握 R 数据分析基础,包括向量、列表和数据框,并用真实数据集实践 R。

学习路径

R编程基础

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

不确定从哪里开始?

参加评估

浏览 R 课程和学习路径

课程

R 中的时间序列数据处理

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

课程

R 中的监督学习:回归

中级技能水平
4.6+
105 条评价
4小时
在本课程中,你将学习如何使用线性回归、广义加性模型、随机森林和xgboost预测未来事件。

课程

R 中的可视化最佳实践

基础技能水平
4.8+
333 条评价
1小时
学习如何有效传达数据,了解常见图表、替代可视化类型和基于感知的样式增强。

课程

R 中的预测

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

课程

R 中的贝叶斯数据分析基础

中级技能水平
4.8+
217 条评价
4小时
了解贝叶斯数据分析是什么、如何运作,以及为何它是数据科学工具箱中的实用工具。

课程

R 中的无监督学习

中级技能水平
4.7+
105 条评价
4小时
本课程从机器学习角度介绍 R 中的聚类和降维。

课程

R 中的因子分析

高级技能水平
4.7+
158 条评价
4小时
用探索性和验证性因子分析探索潜变量,如人格。

课程

R 中的聚类分析

中级技能水平
4.8+
71 条评价
4小时
培养对层次聚类和 k-means 聚类工作原理的直觉,并学习如何将其应用于从数据中提取洞察。

课程

R 中的 ARIMA 模型

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

课程

R 中的线性回归推断

高级技能水平
4.8+
169 条评价
4小时
在本课程中,你将学习如何使用线性模型进行推断。

课程

用 R 分析调查数据

中级技能水平
4.8+
219 条评价
4小时
学习调查设计,掌握常见设计结构,并可视化和分析调查结果。

课程

Tidyverse 的数据建模

中级技能水平
4.8+
230 条评价
4小时
探索数据建模中的不同类型,包括用于预测的类型,并学习如何在 Tidyverse 中进行线性回归和模型评估指标。

课程

R 文本分析入门

中级技能水平
4.8+
62 条评价
4小时
用 tidy 框架在 R 中分析文本数据。

课程

在 R 中处理缺失数据

基础技能水平
4.7+
141 条评价
4小时
用 naniar 让缺失数据更易可视化、探索和插补,这是一种与 tidyverse 兼容的缺失数据处理方法。

课程

Machine Learning with caret in R

中级技能水平
4.8+
43 条评价
4小时
This course teaches the big ideas in machine learning like how to build and evaluate predictive models.

课程

R 中的广义线性模型

中级技能水平
4.8+
194 条评价
4小时
广义线性模型课程扩展你的回归工具箱,加入逻辑回归和泊松回归。

课程

R 金融中级

基础技能水平
4.8+
41 条评价
5小时
了解 R 中日期的工作方式,并通过金融示例探索 if 语句、循环和函数。

课程

R 语言网页抓取

中级技能水平
4.7+
98 条评价
4小时
学习如何使用 R 高效地从任何网站收集并下载数据。

课程

R 中的生存分析

中级技能水平
4.7+
196 条评价
4小时
学习处理时间到事件数据。 事件可能是死亡,或失业后找到工作。 学习估计、可视化并解读生存模型!

课程

R 中的网络分析

中级技能水平
4.7+
122 条评价
4小时
学习使用 igraph 包分析和可视化网络数据,并用 threejs 创建交互式网络图。

课程

R 中的树模型机器学习

基础技能水平
4.8+
262 条评价
4小时
学习如何使用基于树的模型和集成,通过 tidymodels 进行分类和回归预测。

课程

Tidyverse 中的分类数据

基础技能水平
4.7+
172 条评价
4小时
准备好进行分类!在本课程中,您将使用 Tidyverse 生态处理非数值数据,如职位名称或调查回复。

课程

Tidyverse 中的机器学习

中级技能水平
4.8+
115 条评价
5小时
借助 tidyverse 中的 tidyr 和 purrr 包,生成、探索并评估机器学习模型。

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 分钟编程挑战提升技能。