Overwriting library functions
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 at 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 at 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 at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-hpc