Zoom Writing efficient R code
Last updated: January 4, 2023
Table of contents
While R is a slow language, there are a few tricks that can help make it more efficient.
A good starting place is the book Efficient R programming from Colin Gillespie and Robin Lovelace.
If there is one thing to remember on this topic it is this: vectorize code whenever possible.