Learn R Programming

nws (version 1.3.4.1)

sshcmd: sleigh Auxiliary Function

Description

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

Arguments

Details

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

See Also

sleigh

Examples

Run this code
# 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')

Run the code above in your browser using DataLab