Open rprops opened 6 years ago
I think using parallel::mclapply
could help here (see also https://stackoverflow.com/questions/11036702/using-mclapply-foreach-or-something-else-in-r-to-operate-on-an-object-in-par). I also recently bumped into https://github.com/HenrikBengtsson/future which looks promising.
Would make it more sound/robust version of current implementation. Downside is that it will be computationally intensive and require more memory due to the inefficiency of
foreach
.