Re: [Rd] recursion problem using do.call(rbind, list(..,,..))

2016-05-13 Thread Hadley Wickham
Hi Martin, I think this is a general problem with any function that does dispatch on ... - I think for well-defined behaviour you always need to dispatch on pairs, folding/reducing (like in your code) to get a single value. The downside of this approach is obviously performance: for n inputs, you

[Rd] recursion problem using do.call(rbind, list(..,,..))

2016-05-10 Thread Martin Maechler
This was originally a bug report about Matrix, https://r-forge.r-project.org/tracker/?func=detail&atid=294&aid=6325&group_id=61 but the bug is rather a "design" bug in R, or a limitation. This e-mail is a report of the status quo as I see it, and call for comments, sugguests, help/hints for wor