setSleigh {nws} | R Documentation |
This function registers the specified sleigh object.
It can be accessed later using the getSleigh
function.
This function is useful in conjunction with packages that get their
default sleigh objects using the getSleigh
function.
It allows users to create special sleigh objects that will be
used by any packages that get sleigh objects using the
getSleigh
function.
## Not run: setSleigh(sleigh(workerCount=2)) s <- getSleigh() eachWorker(s, function() SleighRank) ## End(Not run)