nodeSleighOptions            package:nws            R Documentation

_N_o_d_e _S_l_e_i_g_h _O_p_t_i_o_n_s _E_n_v_i_r_o_n_m_e_n_t

_D_e_s_c_r_i_p_t_i_o_n:

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

_D_e_t_a_i_l_s:

     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.

_N_o_t_e:

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

_S_e_e _A_l_s_o:

     'sleigh', 'Rprofile'

_E_x_a_m_p_l_e_s:

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

