[R] running custom functions in Snow clusters

From: Michael Gormley <mpg33_at_drexel.edu>
Date: Thu, 20 Dec 2007 16:25:23 -0500

When running a function in parallel using for example the clusterCall function in Snow is it possible to call other user-written functions from each cluster? I get an error when I try to do this. I tried to source the function on each cluster using the clusterEvalQ function but this doesn't seem to work. This is more of an aesthetic problem than an actual one as obviously I can write a group of functions as one function and call this with clusterCall.

Mike Gormley
Drexel University

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 20 Dec 2007 - 21:29:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 20 Dec 2007 - 21:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.