Search code examples
rsnow

register PSOCK cluster with foreach - R 2.14


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.


Solution

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