From ripley at stats.ox.ac.uk  Tue Dec 13 18:33:11 2016
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 13 Dec 2016 17:33:11 +0000
Subject: [Rd] syntax difference clusterExport in parallel and snow
In-Reply-To: <CAErODj-ZqYvuvvS3wdF7L2O7-JJwSi7-wi6Jtp4UPmrZ4j+aQA@mail.gmail.com>
References: <CAErODj-ZqYvuvvS3wdF7L2O7-JJwSi7-wi6Jtp4UPmrZ4j+aQA@mail.gmail.com>
Message-ID: <ea0a9ca1-39bd-1407-3458-de4cd5259596@stats.ox.ac.uk>

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



[Rd] syntax difference clusterExport in parallel and snow
Prof Brian Ripley