nodeSleighOptions {nws}R Documentation

Node Sleigh Options Environment

Description

This environment specifies node specific options that are used when creating a new sleigh object.

Details

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.

Note

It can be very useful to initialize nodeSleighOptions in an R startup script, such as .Rprofile.

See Also

sleigh, Rprofile

Examples

## 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)

[Package nws version 2.0.0.3 Index]