| Thinkstock
Here are some of the best tips, tricks, and takeaways for R users from this year s rstudio::global(2021) virtual conference:
Speed up your R code
The new xrprof package builds on code profiling (performance measuring) offered by base R s
Rprof() with these added features:
It can run on a remote server, not just locally, allowing you to see what s happening in your production environment;
It can see bottlenecks in C/C++ code, not just R code especially useful for R package developers using C or C++.
And, it s a drop-in replacement for the ecosystem of
Rprof() add-on tools, said author Aaron Jacobs, senior data scientist at Crescendo. This project was funded in part by the R Consortium.