VARIANT-class {RDCOMClient} | R Documentation |
The VARIANT
class provides a way to
represent a C-level VARIANT object in S
and assign it to S variable names.
The other classes are trivial extensions that provide type information about a
variant so that we can dispatch methods on such an object.
Currently created in C code when returning values from COM calls.
In the future, one will be able to create variant objects directly
from R and use them as arguments in .COM
calls.
Also we will provide methods for accessing the values of the variants,
and converting them to different S values.
ref
:"externalptr"
reference to the
C-level address of the variant data structure.kind
:"integer"
the kind of the variant,
e.g. I8, I4, R8, BSTR, DISPATCH, etc. represented as a named integer
which has the value from the C-level enumeration.No methods defined with class "VARIANT" in the signature.
Duncan Temple Lang (duncan@research.bell-labs.com)
http://www.omegahat.org/RDCOMClient http://www.omegahat.org/RDCOMServer http://www.omegahat.org/SWinTypeLibs