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

