define: Define the generated code from generateInterface() in the...

defineR Documentation

Define the generated code from generateInterface() in the current R session

Description

This (relatively untested) function is intended to provide a way to read the code generated by a call to generateInterface directly into an R session without writing it to a file. This allows us to dynamically create R wrappersto DCOM interfaces without having the overhead of writing code to disk.

If one wants the interface to be persistent across R sessions, one should use writeCode.

Usage

define(x, where, ...)

Arguments

x

the definition of the code generated from generateInterface (or other lower-level generation functions such as generateClass

where

the environment or index along the search path in which to define the classes.

...

any additional arguments to govern the processing of the definitions.

Author(s)

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

References

http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs

See Also

writeCode generateInterface


omegahat/SWinTypeLibs documentation built on Jan. 17, 2024, 6:40 p.m.