@rstats With many different options available, what is the R-way (as in the best way) to run code in parallel when you develop a package. I'm currently using {foreach} with {doParallel} but was wondering if there is a consensus about the "right" way to do it.

Follow

@scholzmx @rstats The parallel package has stuff for working with clusters, very similar to Julia's pmap but for R (I think clusterapply and it's ilk will probably get you want you want in a functional style, and it has stuff to easily detect cores and such).

rdocumentation.org/packages/pa

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.