Tags / recursion
Vectorizing R For Loops with Interdependent Values Using dplyr Package
Recursive Mapping with Multiple Lists and Constants as Arguments in R
Optimizing Slow Performance on MySQL Recursive CTE Queries: 7 Proven Strategies for a Speed Boost
Creating a List of Lists in R: A More Efficient Approach