unexport                 package:nws                 R Documentation

_s_l_e_i_g_h _C_l_a_s_s _M_e_t_h_o_d

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

     Remove a variable from the scope of the workers or specified
     worker.

_U_s_a_g_e:

     ## S4 method for signature 'sleigh':
     unexport(.Object, xName, worker=NULL)

_A_r_g_u_m_e_n_t_s:

 .Object: a sleigh class object.

   xName: a variable name (given as a quoted string in the function
          call).

  worker: integer rank of the worker where the variable is defined. The
          rank values range from 0 to workerCount - 1. By default, the
          variable is removed from all workers in the sleigh.

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

     'export'

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

     ## Not run: 
     s <- sleigh()
     x <- 6
     export(s, 'x', x)
     unexport(s, 'x')
     ## End(Not run)

