register PSOCK cluster with foreach

How would I register a PSOCK cluster (created using package Parallel) with foreach ? I'm currently using registerDoSNOW in the doSNOW package to register a snow SOCK cluster.


Use registerDoParallel from the doParallel package on the cluster handle. It is essentially the same as registerDoSNOW for socket clusters.

链接地址: http://www.djcxy.com/p/56460.html

上一篇: 用ruby模拟第三方对象的最佳方法是什么?

下一篇: 用foreach注册PSOCK群集