setRegistryValue        package:SWinRegistry        R Documentation

_S_e_t _R_e_g_i_s_t_r_y _V_a_l_u_e

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

     This allows the caller to set the value of a key in the registry.

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

     setRegistryValue(path, key, value, type = .RegistryTypes["none"], top = .BuiltinKeys[1])

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

    path: the path to the folder in the registry in which to set the
          key. This is combined with top to identify the particular
          path in the registry.

     key: the key within the folder specified by 'path' and 'top'. If
          this is either 'NULL' or '""', the value is used as the
          default value for the specified key.

   value: the S object to which to set the registry key. This is
          converted to an appropriate value in C according to 'type'
          and/or the default conversion mechanism 

    type: type for the value that is to be put into the registry. This
          controls how the S value is converted to a value in the
          registry.

     top: 

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

     'NULL', always!

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

     'getRegistryValue'

     '.resolveToplevelRegistryKey'

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

     setRegistryValue("HKEY_CURRENT_USER\\Volatile Environment\\duncan", value = "foobar", type = .RegistryTypes["sz"] )

      setRegistryValue("HKEY_CURRENT_USER\\Volatile Environment\\duncan", value = "foobar")

