expandEnvironmentStrings {SWinRegistry} | R Documentation |
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
.
expandEnvironmentStrings(x)
x |
a character vector containing the strings to be expanded. |
A character vector of the same length as the
input argument (x
) with the values
expanded.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://www.omegahat.org/SWinRegistry
els <- getRegistryKeyValues("Environment", "HKEY_CURRENT_USER") expandEnvironmentStrings(els)