View source: R/namedFunctions.S
COMNameManager | R Documentation |
This is a constructor function that generates a function object which can be used to manage a unique set of name-identier pairs. Each resulting function from a call to this generator stores its own set map of the names and their integer identifiers. This can be used when managing the mapping of COM names for properties, methods and parameters. The behavior of the manager function is to allow any names to be requested and simply add previously unseen values to the map. In this way, it is non-discriminating.
COMNameManager(map = integer(0))
map |
a named integer vector giving an initial value for the mapping of the names to integers and vice-versa. |
This generator function is merely used to create a unique environment for each instance of the return value.
A single function which acts as a name manager. If called with a numeric vector, this function returns the associated names in its local map. If called with a character vector, it looks up the names and returns their associated integer identifiers. Any values not already in the map are added. And if called with no argument, the current map is returned.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://www.omegahat.org/RDCOMServer
SCOMNamedFunctionClass-class
SCOMNamedFunctionClass
SCOMNamedFunctionDispatch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.