sshcmd {nws}R Documentation

sleigh Auxiliary Function

Description

This function indicates that SSH will be used to launch sleigh workers.

Details

This function is only meant to be passed through optional argument, 'launch' in the sleigh constructor.

See Also

sleigh

Examples

## Not run: 
# Both master and sleigh workers run on Linux.
s = sleigh(launch=sshcmd)

# master runs on Windows and sleigh workers run on Linux. 
# Since Windows and Linux have different file structure, 
# we need to specify the location of worker scripts.
s = sleigh(launch=sshcmd, scriptDir='/usr/local/lib/R/library/nws/bin')
## End(Not run)

[Package nws version 1.5.0 Index]