[R] Continuation-parsing / trampoline / infinite recursion problem

Thomas Mailund
Wed, 10 Aug 2016 17:20:14 -0000

On 10 Aug 2016, at 19:15, Bert Gunter <bgunter.4567 at
gmail.com<mailto:bgunter.4567 at gmail.com>> wrote:

make_thunk is probably unnecessary and apparently problematic. I think
you could use do.call()  instead, as do.call(f,list(...))  .

Yes,

make_thunk <- function(f, ...) function() do.call(f, list(...))

also works as far as I can see, yes. I do need to turn it into a thunk, though,
as far as I can see.

Thanks
Thomas


	[[alternative HTML version deleted]]