Skip to main content
HomeR

course

Optimizing R Code with Rcpp

Intermediate
Updated 12/2024
Use C++ to dramatically boost the performance of your R code.
Start course for free

Included for FreePremium or Teams

RSoftware Development4 hours15 videos52 exercises4,350 XP3,665Statement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

R is a great language for data science, but sometimes the code can be slow to run. Combining the comfort of R with the speed of a compiled language is a great way to reclaim the performance your code deserves. C++ is a modern, high performance language that is simple enough to learn in the context of accelerating R code. With the help of the Rcpp package, C++ integrates very neatly with R. You will learn how to create and manipulate typical R objects (vectors and lists), and write your own C++ functions to dramatically boost the performance of your R code.

Prerequisites

Introduction to Writing Functions in R
1

Introduction

Start Chapter
2

Functions and Control Flow

Start Chapter
3

Vector classes

Start Chapter
4

Case Studies

Start Chapter
Optimizing R Code with Rcpp
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Join over 15 million learners and start Optimizing R Code with Rcpp today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.