Dear All,

What is the preferred way for Package A, to initialize a cluster, and load
Package B on all nodes?

I am writing a package that parallelizes some functions through the use of
a cluster if useRs are on a Windows machine (using parLapply and family).
 I also make use of another package in some of my code, so it is necessary
to load the required packages on each slave once the cluster is started.

Right now, I have done this, by evaluating require(packages) on each slave;
however, Rcmd check has a note that I should remove the "require" in my
code.

Thanks!

Josh

-- 
Joshua F. Wiley
Ph.D. Student, UCLA Department of Psychology
http://joshuawiley.com/
Senior Analyst, Elkhart Group Ltd.
http://elkhartgroup.com
Office: 260.673.5518

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to