Many books have been written about writing faster code in R and other languages.
Our goal here is to cover what I view as the most common and useful tips and approaches for writing high-performing R code. These are laid out roughly in the order you should try them, roughly increasing in complexity:
- Don’t Do It
- Know The Language
- Do Less
- Do Smarter
- Do With More