Efficient R
Description
For most data analysis and statistical computing, R is efficient enough. However, there are times when we encounter bottlenecks in our code that slow it down significantly. In this lecture, I’ll teach you techniques to identify those bottlenecks and write more efficient code. You’ll learn the fundamental principles of faster R code and discover efficient packages for data analysis. We’ll also touch on advanced optimization methods like parallelization and integrating C++ code. If you have previous experience with R programming and looking to make your R code run faster, this lecture is for you. If you are an R beginner, you’ll still benefit from learning the principles and patterns but the more advanced techniques won’t be relevant for you yet.
Slides in full screen    Download PDF slides   Watch on Youtube
Links and resources
- For more details on the first two levels, check out my talk “What they forgot to teach you about R”
- Book Efficient R programming by Colin Gillespie and Robin Lovelace offers a great overview of different areas of efficiency
- Youtube Video on Writing efficient R code