Every time I see a question on parallel processing in R, it uses the foreach function. Since for loops are not very R-like, is there a parallel version of apply, and if so why isn’t it more popular?
Every time I see a question on parallel processing in R, it uses the
Share
There are numerous parallel versions of
*apply, starting withparLapply()in snowmclapply()in multicorempi.apply()in Rmpias well as dedicated packages such as papply (possibly no longer maintained).