getpid                 package:base                 R Documentation

_G_e_t _t_h_e _P_r_o_c_e_s_s _I_D _o_f _t_h_e _R _S_e_s_s_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Get the process ID of the R Session.  It is guaranteed by the
     operating system that two R sessions running simultaneously will
     have different IDs, but it is possible that R sessions running at
     different times will have the same ID.

_U_s_a_g_e:

     Sys.getpid()

_V_a_l_u_e:

     An integer, usually a small integer between 0 and 32767 under
     Unix-alikes and a much small integer under Windows.

_E_x_a_m_p_l_e_s:

     Sys.getpid()

