| sleigh-class {nws} | R Documentation |
Class representing sleigh
Objects can be created by calls of the form new("sleigh", nodeList, ...).
nodeList:"character" representation of a list of host names where workers are created.nws:"netWorkSpace" representation of the sleigh workspace.nwsName:"character" representation of the sleigh workspace name.nwss:"nwsServer" representation of the netWorkSpaces server that this sleigh workspace connects to.options:"environment" representation of the optional enviroment variables.state:"environment" representation of the sleigh state.workerCount:"numeric" representation of the number of sleigh workers.signature(.Object = "sleigh"): sleigh class constructor.signature(.Object = "sleigh"): evaluate the given function with multiple argument sets using the workers in sleigh.signature(.Object = "sleigh"): evaluate given function exactly once for each worker in sleigh.signature(.Object = "sleigh"): shutdown workers and remove sleigh workspace.There are three different launch methods (ssh, lsf, and web) to tailor client's working environment. see examples section.
## Not run:
# Default option: create three sleigh workers on local host
s = sleigh()
# Or,
s = new('sleigh')
# Create sleigh workers on multiple machines
s = sleigh(c('n1', 'n2', 'n3'))
# Use LSF instead of SSH for remote login.
# to login to remote machines.
s = sleigh(launch=lsfcmd)
# Use web launch
s = sleigh(launch='web')
## End(Not run)