Hi guys, Was just checking out GenomicFiles and was a little surprised that the arguments to the REDUCER are different depending on iterate=TRUE vs. iterate=FALSE. In my often flawed opinion, iteration should not be a concern of the REDUCER. It should be oblivious to the iteration mode. In other words, when iterate=TRUE, it is a special case of having two objects to combine, instead of multiple.
What would be convenient (but unnecessary) is to detect from the formal arguments whether REDUCER is variadic or list-based. In other words, if REDUCER is defined like function(...) { } it is called via do.call(), otherwise it is passed the list. Thoughts? Maybe I'm totally confused? Michael [[alternative HTML version deleted]] _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel