I am going to go out on a limb and suggest that you not do this at all.
Packages are good places for algorithms, and parallel processing is an
infrastructure optimization that a) is not always an efficiency win, and b) can
be quite sensitive to the actual infrastructure that is available (best
Hi all,
Any tips on how to use doParallel as part of a function in a package that I
am writing? The function calls compiled C code, and (as far as I know),
doParallel requires you to load C functions for each core that you use
(either with the .packages argument to foreach(), or by explicitly load
2 matches
Mail list logo