setDoPar               package:foreach               R Documentation

_s_e_t_D_o_P_a_r

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

     The 'setDoPar' function is used to register a parallel backend
     with the foreach package.  This isn't normally executed by the
     user.  Instead, packages that provide a parallel backend provide a
     function named 'registerDoPar' that calls 'setDoPar' using the
     appropriate arguments.

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

     setDoPar(fun, data=NULL, info=function(data, item) NULL)

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

     fun: A function that implements the functionality of '%dopar%'.

    data: Data to passed to the registered function.

    info: Function that retrieves information about the backend.

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

     '%dopar%'

