Thanks, Glenn. That did it!

For logging purposes, here's the solution I used (using commands from snowfall package):
sfLibrary(R.utils)                       # Export package for reassignment function
sfClusterEval(reassignInPackage(name, pkgName, value))

Now it works as planned. Thanks for helping a new user with a basic question.

Cheers,
Phil


On 8/13/2013 8:11 AM, Lockwood, Glenn wrote:

Phil,

The ClusterEvalQ function is usually used to execute commands (e.g., load libraries, configure parameters) on all remote nodes.  Have you tried this?

Glenn

On Aug 13, 2013, at 1:32 AM, "Novack-Gottshall, Philip M." <pnovack-gottshall@ben.edu><mailto:pnovack-gottshall@ben.edu> wrote:



Hi all,

I'm using a package that is still being updated to address unintuitive
issues. (The package developer sent me a temporary function fix until
the next release.) Normally (when running on a single CPU), I call
reassignInPackage() to over-write the pre-set package function.

But it doesn't seem that the over-write is sent to the clusters (I
usually use SNOW and snowfall) when I export the package. Can anyone
recommend a method to reassign a function in a library so that it can be
called properly on the workers?

Thanks,
Phil


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Phil Novack-Gottshall
 Assistant Professor
 Department of Biological Sciences
 Benedictine University
 5700 College Road  Lisle, IL 60532

 pnovack-gottshall@ben.edu<mailto:pnovack-gottshall@ben.edu>
 Phone: 630-829-6514
 Fax: 630-829-6547
 Office: 332 Birck Hall
 Lab: 107 Birck Hall
 http://www1.ben.edu/faculty/pnovack-gottshall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



_______________________________________________
R-sig-hpc mailing list
R-sig-hpc@r-project.org<mailto:R-sig-hpc@r-project.org>
https://stat.ethz.ch/mailman/listinfo/r-sig-hpc







--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Phil Novack-Gottshall
 Assistant Professor
 Department of Biological Sciences
 Benedictine University
 5700 College Road
 Lisle, IL 60532

 pnovack-gottshall@ben.edu<mailto:pnovack-gottshall@ben.edu>
 Phone: 630-829-6514
 Fax: 630-829-6547
 Office: 332 Birck Hall
 Lab: 107 Birck Hall
 http://www1.ben.edu/faculty/pnovack-gottshall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


	[[alternative HTML version deleted]]

