You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loaded, have the package set parallel:::defaultClusterOptions$type from (new) environment R_PARALLELLY_CLUSTER_TYPE, if available. This will then allow users to switch the default cluster type used by parallel:::makeCluster().
What about snow::makeCluster(), which works the same as parallel::makeCluster() but uses a different default? Contrary to parallel, the parallelly package does not depend/import snow, which means we cannot set ditto for snow. We could add a hook function that does it when / iff the snow package is loaded, but is that good?
(Adopted from an old 2017-09-05 note of mine)
When loaded, have the package set
parallel:::defaultClusterOptions$type
from (new) environmentR_PARALLELLY_CLUSTER_TYPE
, if available. This will then allow users to switch the default cluster type used byparallel:::makeCluster()
.What about
snow::makeCluster()
, which works the same asparallel::makeCluster()
but uses a different default? Contrary toparallel
, the parallelly package does not depend/import snow, which means we cannot set ditto for snow. We could add a hook function that does it when / iff the snow package is loaded, but is that good?Source
The text was updated successfully, but these errors were encountered: