getRegistry {SWinRegistry}R Documentation

Recursively retrieve registry keys and values

Description

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.

Usage

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

Arguments

path the identifier for a registry key.
top the top-level key in which the path specification is found.

Details

Value

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.

Author(s)

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

References

http://www.omegahat.org/SWinRegistry

See Also

getRegistrySubKeyNames getRegistryKeyValues

Examples

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

[Package SWinRegistry version 0.3-3 Index]