Marnin,
I have noticed the behaviour you report when using parallelisation based on forking (e.g. mclapply). And indeed it is due to a fragile set-up of temporary files.
Lacking the time for fixing it properly, my workaround for this
has been precisely the use of foreach + doParallel.
Take at look at this issue [1] to see whether it helps you setting up things properly, and let me know.
Alternatively, you could also leverage the "remote computing" feature (with option breedR.bin = "submit") in order to parallelise jobs. See ?remote for details. Note that you can define your "remote" server as "localhost".
Hope it helps
ƒacu.-
--
Report issues at https://github.com/famuvie/breedR/issues
---
You received this message because you are subscribed to the Google Groups "breedR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to breedr+un...@googlegroups.com.
To post to this group, send email to bre...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/6a61d271-23d1-41d0-8d8f-686e7b9be1f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cool!
Out of curiosity. Was `doFuture` necessary to fix your issue, or could you handle it with `doParallel`?
Thanks for your report!
ƒacu.-
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/049f7187-726c-4bd5-8a7f-2638e07b2577%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "breedR" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/breedr/JhZH9ExJeTE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to breedr+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/8aaf5aea-d70b-0316-656c-ed2d4e69c7a5%40cirad.fr.