Make Functions that Can Recurse Infinitely

Implements a trampoline algorithm for R that let's users write recursive functions that get around R's stack call limitations, enabling theoretically infinite recursion. The algorithm is based around generator function as implemented in the 'coro' package, and is based almost completely on the 'trampoline' module from Python < https://gitlab.com/ferreum/trampoline>.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("trampoline")

0.1.1 by Russell Dinnage, 24 days ago


https://github.com/rdinnager/trampoline, https://rdinnager.github.io/trampoline/


Browse source code at https://github.com/cran/trampoline


Authors: Russell Dinnage [aut, cre, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports coro, fastmap, rlang

Suggests rmarkdown, knitr, bench, testthat, roxygen2


See at CRAN