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.

Answers


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


Need Your Help

Delegate in Swift-language

ios uiviewcontroller swift ios8

I have two controllers and i need call up function the first controller to second controller:

Why would running a heap dump cause my thread count to drop considerably?

java memory-leaks

This is possibly a naive question. I am in the process of investigating a probable memory leak in my application. I've been monitoring the tomcat process via jvisualvm. At one point I opted to d...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.