Skip to content

snow: export data inside function and check worspaces

2 messages · Matthieu Stigler, Steve Weston

#
On Mon, Apr 27, 2009 at 2:53 AM, Matthieu Stigler
<matthieu.stigler at gmail.com> wrote:
If you want to use clusterExport, I believe you would have to
first assign the value of the local variable to a global variable,
since that is the only thing that clusterExport will operate on.
You might want to consider other methods of handling that
data, though.
Try something like:

   clusterCall(cl, function() ls(globalenv()))