| nodeSleighOptions {nws} | R Documentation |
This environment specifies node specific options that are used when creating a new sleigh object.
Node specific options can be specified by assigning list objects to this environment using a symbol name matches the name of the node used in the sleigh nodeList argument.
It can be very useful to initialize nodeSleighOptions in an R startup script, such as .Rprofile.
## Not run:
# Use the username 'steve' when starting workers on node 'n1'
nodeSleighOptions$n1 <- list(user = 'steve')
# A more complete example
rrhome <- 'D:/R/R-2.7.0'
fenrir <- list(scriptDir = file.path(rrhome, 'library/nws/bin'),
rprog = file.path(rrhome, 'bin/Rterm.exe'),
logDir = 'D:/tmp',
workingDir = 'D:/tmp',
python = 'D:/REvolution/Python-2.5.2/python.exe')
nodeSleighOptions$fenrir <- fenrir
## End(Not run)