Skip to content
Prev 3925 / 21312 Next

[Bioc-devel] BiocParallel -- update

By the way, all my work on BiocParallel is going to end up here: 
https://github.com/DarwinAwardWinner/BiocParallel

If you want to read through the multicore-only pvectorize, it is here: 
https://github.com/DarwinAwardWinner/BiocParallel/blob/a3699cf/R/pvectorize.R

It's a little more than one line of code now. A lot of the code deals 
with proper recycling in the case of multiple vectorized args and 
merging the singature of the function with that of pvec, as well as 
corner cases like not vectorizing anything and being passed length-1 
vectors.

There's also an mcmapply function that is to mapply as mclapply is to 
lapply. I plan to implement a param-generic version called bpmapply, 
which may become the backend for bpvectorize.
On Tue 04 Dec 2012 01:15:24 PM PST, Michael Lawrence wrote: