registerDoMC              package:doMC              R Documentation

_r_e_g_i_s_t_e_r_D_o_M_C

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

     The 'registerDoMC' function is used to register the multicore
     parallel backend with the 'foreach' package.

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

     registerDoMC(cores=NULL)

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

   cores: The number of cores to use for parallel execution. If not
          specified, the number of cores is set to the value of 
          'options("cores")', if specified, or to the number of cores
          detected by the 'multicore' package.

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

     The 'multicore' package by Simon Urbanek provides functions for
     parallel execution of R code on machines with multiple cores or
     processors, using the system 'fork' call to spawn copies of the
     current process. The 'multicore' package, and therefore
     'registerDoMC', should not be used in a GUI environment, because
     multiple processes then share the same GUI.

