Course
Writing Efficient R Code
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Loved by learners at thousands of companies
Training 2 or more people?
Try DataCamp for BusinessCourse Description
Prerequisites
Intermediate RThe Art of Benchmarking
Fine Tuning: Efficient Base R
Diagnosing Problems: Code Profiling
Turbo Charged Code: Parallel Programming
Complete
Earn Statement of Accomplishment
Add this credential to your LinkedIn profile, resume, or CVShare it on social media and in your performance reviewEnroll Now
FAQs
What does benchmarking mean in the context of this course?
Benchmarking is measuring how long your R code takes to run so you can identify slow sections. The first chapter teaches you techniques to time your code accurately.
What is code profiling, and which tool does this course use for it?
Code profiling identifies bottleneck lines in your script. You will use the profvis package to visualize exactly where your code spends the most time.
Does this course teach parallel programming in R?
Yes. The final chapter shows you how to use multiple cores on your machine to run R code in parallel, significantly speeding up problems that can be split into independent tasks.
What prerequisite R skills are needed?
You should have completed Introduction to R and Intermediate R. Comfort with base R data structures, loops, and apply functions will help you get the most from this course.
Will I learn alternative coding approaches that are faster in base R?
Yes. Chapter 2 teaches you that many R problems have multiple solutions, and some can be orders of magnitude faster. You will learn which base R patterns to prefer for speed.
Join over 19 million learners and start Writing Efficient R Code today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Grow your data skills with DataCamp for Mobile
Make progress on the go with our mobile courses and daily 5-minute coding challenges.