Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
What can you do when your R code takes a long time to run? What are some reasons the code might run so slowly? The profiling package for R provides insights that can answer these questions. Writing fast and memory-efficient code is an essential skill for any R programmer, and the information from the performance profile can help not only to find problems, but suggest how to resolve them. The topics discussed in these lessons will provide you the tools you need for scaling up the size of the R projects you write.
In these lessons, you will learn how to profile the performance of R code. We will use the profiling package of R, explore the different time and memory measurements taken, and interpret the results. By the end of these lessons, you will be able to profile your own R code to identify bottlenecks due to slow code or memory allocation inefficiencies.
You will be able to profile your own R code to identify bottlenecks due to slow code or memory allocation inefficiencies.
The course uses the profiling package of R, including the Profvis package, to explore time and memory measurements and interpret the results.
The lessons cover the Profvis Package, Interpreting Profiling Results, and Memory Profiling.
It is intended for R programmers who want to write fast and memory-efficient code and scale up the size of the R projects they write.
It helps develop skills in bottleneck analysis and memory management.