# 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