|
It is fixed by https://github.com/amplab-extras/SparkR-pkg/pull/186, and no need for extra changes. I save the closure with each function and use nested functions in the pipeline as before.
However, if you could remember, an alternative way is using a accumulator to store functions. One of the benefits of that might be that we could support "..." in lapply, by storing the ... argument in each element of the accumulator. That would be a nice feature, but a minor issue.
|