R mclapply cores option

Mon 11 August 2014

This morning, I found the default behavior of the mclapply() function not quite different from the one of the lapply().  After quick investigation, I found is was due to an option not correctly set: the number of core to use.

> getOption("cores")

I must then overwrite the default mc.cores option of the mclapply()

Related articles (or not):

Category: programming Tagged: R programming useless