This event has ended. Visit the official site or create your own event on Sched.
Click here to return to main conference site. For a one page, printable overview of the schedule, see this.
Back To Schedule
Tuesday, June 28 • 10:48am - 11:06am
RcppParallel: A Toolkit for Portable, High-Performance Algorithms

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Modern computers and processors provide many advanced facilities for the concurrent, or parallel, execution of code. While R is a fundamentally a single-threaded program, it can call into multi-threading code, provided that such code interacts with R in a thread-safe manner. However, writing concurrent programs that run both safely and correctly is a very difficult task, and requires substantial expertise when working with the primitives provided by most programming languages or libraries. RcppParallel provides a complete toolkit for creating safe, portable, high-performance parallel algorithms, built on top of the Intel "Threading Building Blocks" (TBB) and "TinyThread" libraries. In particular, RcppParallel provides two high-level operations -- 'parallelFor', and 'parallelReduce', which provide a framework for the safe, performant implementation of many kinds of parallel algorithms. We'll showcase how RcppParallel might be used to implement a parallel algorithm, and how the generated routine could be used in an R package.


Duncan Temple Lang

University of California Davis

avatar for Kevin  Ushey

Kevin Ushey

Software Engineer, RStudio
Software engineer on a team using C++, Java, JavaScript, and R to build an IDE for the R programming language.Say hi if you want to talk about how weird / awesome R is :)

Tuesday June 28, 2016 10:48am - 11:06am PDT