setRegistryValue {SWinRegistry} | R Documentation |
This allows the caller to set the value of a key in the registry.
setRegistryValue(path, key, value, type = .RegistryTypes["none"], top = .BuiltinKeys[1])
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 |
NULL
, always!
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://www.omegahat.org/SWinRegistry
setRegistryValue("HKEY_CURRENT_USER\\Volatile Environment\\duncan", value = "foobar", type = .RegistryTypes["sz"] ) setRegistryValue("HKEY_CURRENT_USER\\Volatile Environment\\duncan", value = "foobar")