close
(Package: nws) :
Close a Sleigh or netWorkSpace
If the first argument is a sleigh object, then close calls stopSleigh to shut down the sleigh workers and delete the sleigh workspace. If the first argument is a nwsServer object, then the connection to the netWorkSpace server is closed.
cmdLaunch
(Package: nws) :
sleigh Auxiliary Function
This assumes the sleigh object on the master uses a worker script to launch remote workers. This function is intended to be called within the worker script, which automates the process of launching remote workers. See RNWSSleighWorker.sh and RNWSleighWorker.py for example.
eachElem
(Package: nws) :
Apply a Function in Parallel over a Set of Lists and Vectors
eachElem executes function fun multiple times in parallel with a varying set of arguments, and returns the results in a list. It is functionally similar to the standard R lapply function, but is more flexible in the way that the function arguments can be specified.
eachWorker
(Package: nws) :
Execute a Function in Parallel on all Workers of a Sleigh
eachWorker executes function fun once on each worker in the specified sleigh, and returns the results in a list. This can be useful for initializing each of the workers before starting to execute tasks using eachElem. Loading packages using the library function, loading data sets using the data function, and assigning variables in the global environment are common tasks for eachWorker.