We may earn an affiliate commission when you visit our partners.
Course image
David J. Malan and Carter Zenke

An introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. Learn to use RStudio, a popular integrated development environment (IDE). Learn to represent real-world data with vectors, matrices, arrays, lists, and data frames. Filter data with conditions, via which you can analyze subsets of data. Apply functions and loops, via which you can manipulate and summarize data sets. Write functions to modularize code and raise exceptions when something goes wrong. Tidy data with R’s tidyverse and create colorful visualizations with R’s grammar of graphics. By course’s end, learn to package, test, and share R code for others to use. Assignments inspired by real-world data sets.

Two deals to help you save

We found two deals and offers that may be relevant to this course.
Save money when you learn. All coupon codes, vouchers, and discounts are applied automatically unless otherwise noted.

What's inside

Learning objectives

  • R
  • Rstudio
  • Vectors
  • Matrices
  • Arrays
  • Lists
  • Data frames
  • Conditions
  • Functions
  • Loops
  • Exceptions
  • Tidyverse

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Explores R, which is highly relevant for statistical computing and graphics in data science and other domains
Taught by David J. Malan, Carter Zenke, who are recognized for their work in R
Provides a strong foundation for beginners in R and statistical computing
Develops skills in data manipulation, visualization, and analysis using R's tidyverse and grammar of graphics

Save this course

Save CS50's Introduction to Programming with R to your list so you can find it easily later:
Save

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in CS50's Introduction to Programming with R with these activities:
Work through the R Tutorial
Exercises in the interactive tutorial will help you apply core concepts from the course.
Show steps
  • Visit the RStudio website and follow the tutorial.
Create a cheat sheet for R functions
Creating a cheat sheet will help you memorize and quickly reference important functions.
Browse courses on R Functions
Show steps
  • List the most commonly used R functions.
  • Describe the purpose and syntax of each function.
Create visualizations with ggplot2
ggplot2 is a powerful library for creating visualizations in R, enhancing your ability to communicate data insights.
Browse courses on Ggplot2
Show steps
  • Install the ggplot2 package.
  • Follow a tutorial on creating a basic plot.
Three other activities
Expand to see all activities and additional details
Show all six activities
Solve coding challenges on LeetCode
Solving coding challenges will enhance your problem-solving skills and deepen your understanding of R.
Browse courses on Coding Challenges
Show steps
  • Create an account on LeetCode.
  • Start solving easy problems in the R section.
Practice writing functions
Functions allow you to reuse code and write more modular and maintainable programs.
Browse courses on Functions
Show steps
  • Define a function to calculate the mean of a vector.
  • Call the function with different vectors.
Analyze a real-world dataset
Applying your skills to analyze real-world data will solidify your understanding and enhance your ability to solve problems.
Browse courses on Data Analysis
Show steps
  • Find a dataset that interests you.
  • Load the dataset into R.
  • Explore the data using summary statistics and visualizations.
  • Draw conclusions based on your analysis.

Career center

Learners who complete CS50's Introduction to Programming with R will develop knowledge and skills that may be useful to these careers:
Data Analyst
Data Analysts use their skills with programming and data to solve problems. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use statistical analysis to solve problems.
Statistician
Statisticians use their knowledge of data analysis to help businesses and organizations make informed decisions. This course provides an introduction to programming using R, a popular language for statistical computing and graphics in data science and other domains.
Data Scientist
Data Scientists use programming and data to solve problems and create insights. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use data to solve problems.
Quantitative Analyst
Quantitative Analysts use programming and data to solve problems in the financial industry. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use R to analyze financial data and develop trading strategies.
Machine Learning Engineer
Machine Learning Engineers use programming and data to build predictive models. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use R to develop and deploy machine learning models.
Software Engineer
Software Engineers use programming to develop and maintain software applications. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use programming to develop and maintain software applications.
Data Engineer
Data Engineers use programming to manage and process data. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use R to manage and process large datasets.
Business Analyst
Business Analysts use data to help businesses understand their customers and make better decisions. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use R to analyze business data and make recommendations.
Operations Research Analyst
Operations Research Analysts use programming and data to solve problems in the transportation, healthcare, and manufacturing industries. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use R to develop and implement operations research models.
Financial Analyst
Financial Analysts use programming and data to analyze financial data and make investment recommendations. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use R to analyze financial data and develop investment strategies.
Biostatistician
Biostatisticians use programming and data to analyze medical data and design clinical trials. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use R to analyze medical data and design clinical trials.
Actuary
Actuaries use programming and data to assess risk and develop insurance products. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains. It helps build a foundation for understanding how to use R to assess risk and develop insurance products.
Software Developer
Software Developers use programming to develop and maintain software applications. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains.
Database Administrator
Database Administrators use programming to manage and maintain databases. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains.
Web Developer
Web Developers use programming to develop and maintain websites. This course provides an introduction to programming using a language called R, a popular language for statistical computing and graphics in data science and other domains.

Reading list

We've selected 12 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in CS50's Introduction to Programming with R.
Comprehensive introduction to the R programming language. It covers all of the basics, from data types and operators to functions and loops. It also includes a chapter on graphics, which is essential for data visualization. This book great choice for beginners who want to learn R from the ground up.
Practical guide to using R for data science. It covers a wide range of topics, from data manipulation and visualization to statistical modeling and machine learning. This book great choice for intermediate users who want to learn more about R's capabilities.
Comprehensive guide to information theory, inference, and learning algorithms. It covers a wide range of topics, from entropy to Bayesian inference. This book great choice for intermediate users who want to learn more about information theory and its applications.
Comprehensive guide to deep learning. It covers a wide range of topics, from neural networks to deep learning models. This book great choice for intermediate users who want to learn more about deep learning.
Comprehensive guide to reinforcement learning. It covers a wide range of topics, from Markov decision processes to deep reinforcement learning. This book great choice for intermediate users who want to learn more about reinforcement learning.
Comprehensive guide to convex optimization. It covers a wide range of topics, from linear programming to conic programming. This book great choice for intermediate users who want to learn more about convex optimization.
Modern take on statistical inference, using data science tools. It covers a wide range of topics, from Bayesian inference to machine learning. This book great choice for intermediate users who want to learn more about statistical inference.
Classic introduction to statistical learning. It covers a wide range of topics, from linear regression to machine learning. This book great choice for intermediate users who want to learn more about statistical learning.
Collection of recipes for creating graphics in R. The recipes cover a wide range of topics, from basic plots to complex visualizations. This book great choice for intermediate users who want to learn more about R's graphics capabilities.
Comprehensive guide to R Markdown, a format for creating dynamic reports in R. R Markdown great way to share your work with others, and this book will teach you how to use it effectively.
Comprehensive guide to the advanced features of R. It covers topics such as object-oriented programming, high-performance computing, and debugging. This book great choice for experienced users who want to learn more about R's advanced capabilities.

Share

Help others find this course page by sharing it with your friends and followers:
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser