[Rd] syntax difference clusterExport in parallel and snow

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Dec 13 18:33:11 CET 2016


On 13/12/2016 17:05, Paul Johnson wrote:
> We got some errors and eventually figured out that
> parallel::clusterExport second argument is "varlist" while in
> snow::clusterExport it is "list".
>
> The user had loaded parallel first, but did something else which
> inadvertently loaded snow, then clusterExport failed because we had
> "varlist" and not "list".
>
> Are these different on purpose?

Yes.

('list' is an unhelpful name for an argument that is not a list.)


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford



More information about the R-devel mailing list