YoVDO

Writing Efficient R Code

Offered By: DataCamp

Tags

R Programming Courses Data Analysis Courses Parallel Programming Courses Benchmarking Courses Code Optimization Courses

Course Description

Overview

Learn to write faster R code, discover benchmarking and profiling, and unlock the secrets of parallel programming.

The beauty of R is that it is built for performing data analysis. The downside is that sometimes R can be slow, thereby obstructing our analysis. For this reason, it is essential to become familiar with the main techniques for speeding up your analysis, so you can reduce computational time and get insights as quickly as possible.

Syllabus

  • The Art of Benchmarking
    • In order to make your code go faster, you need to know how long it takes to run. This chapter introduces the idea of benchmarking your code.
  • Fine Tuning: Efficient Base R
    • R is flexible because you can often solve a single problem in many different ways. Some ways can be several orders of magnitude faster than the others. This chapter teaches you how to write fast base R code.
  • Diagnosing Problems: Code Profiling
    • Profiling helps you locate the bottlenecks in your code. This chapter teaches you how to visualize the bottlenecks using the profvis package.
  • Turbo Charged Code: Parallel Programming
    • Some problems can be solved faster using multiple cores on your machine. This chapter shows you how to write R code that runs in parallel.

Taught by

Colin Gillespie

Related Courses

Advanced R Programming
Johns Hopkins University via Coursera
Analyse comparative des volumes Amazon EBS (Français) | Benchmarking Amazon EBS Volumes (French)
Amazon Web Services via AWS Skill Builder
Analyzing the Internal/External Competitive Profile Matrix
Coursera Project Network via Coursera
Assessing Cultural Climate
Rice University via Coursera
AWS Foundations: Cost Management (Simplified Chinese)
Amazon Web Services via AWS Skill Builder