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.
下一篇: 用foreach注册PSOCK群集
