The Working R Programmer

Tips and tricks for serious software development in R

tailr v0.1.1

As I wrote about here and here, I had a problem in tailr with higher-order functions. In the transformation for tail-recursion optimisation, I need to know which actual functions each name refer to, in order to apply user-defined transformations, but with higher-order functions, those are not known until runtime.

I’ve made a new release of tailr, v0.1.1, that fixes this. It accepts functions that are local variables, but cannot, of course, apply user-defined transformations for those.