[R-sig-hpc] doMC and foreach can not use all cores

Brian G. Peterson brian at braverock.com
Sun Aug 28 11:40:47 CEST 2011


On Sun, 2011-08-28 at 14:54 +0800, 该走了 wrote:
> registerDoMC( core = 4 )

your first problem is that the parameter is 'cores'

registerDoMC(cores=4)
or
registerDoMC(4)


-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock



More information about the R-sig-hpc mailing list