getRegistry           package:SWinRegistry           R Documentation

_R_e_c_u_r_s_i_v_e_l_y _r_e_t_r_i_e_v_e _r_e_g_i_s_t_r_y _k_e_y_s _a_n_d _v_a_l_u_e_s

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

     This recursively iterates over the specified key and its sub-keys
     and returns a list of lists that provide the key-value pairs and
     the same for the sub-keys.

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

     getRegistry(path = character(0), top = .BuiltinKeys[1])

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

    path: the identifier for a registry key.

     top: the top-level key in which the path specification  is found.

_V_a_l_u_e:

     A list of length 2 

  values: a list giving the key-value pairs in this key

 folders: a list with an element for each of the sub-keys in this key.
          Each element has the same structure as this return value,
          i.e. a list of length 2.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang <duncan@wald.ucdavis.edu>

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.omegahat.org/SWinRegistry>

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

     'getRegistrySubKeyNames' 'getRegistryKeyValues'

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

      if(registryKeyExists(c("SOFTWARE", "R-core"), 4))
        getRegistry(c("SOFTWARE", "R-core"), top = 4)

