expandEnvironmentStrings    package:SWinRegistry    R Documentation

_E_x_p_a_n_d _s_y_m_b_o_l_i_c _s_t_r_i_n_g_s _c_o_n_t_a_i_n_i_n_g _e_n_v_i_r_o_n_m_e_n_t _p_a_r_a_m_e_t_e_r_s

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

     This is used to translate or expand the environment parameters in
     a string into their current values. Strings of this form are often
     stored in the  registry using the 'REG_EXPAND_SZ' type. 

     This is an interface to the  Windows C-level API routine
     'ExpandEnvironmentStrings'.

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

     expandEnvironmentStrings(x)

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

       x: a character vector containing the strings to be expanded.

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

     A character vector of the same length as the input argument ('x')
     with the values  expanded.

_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:

     'getRegistryKeyValues'

     '.resolveToplevelRegistryKey'

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

       els <- getRegistryKeyValues("Environment", "HKEY_CURRENT_USER")
       expandEnvironmentStrings(els)

