VARIANT-class | 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
:Object of class "externalptr"
reference to the
C-level address of the variant data structure.
kind
:Object of class "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@r-project.org)
http://www.omegahat.net/RDCOMClient http://www.omegahat.net/RDCOMServer http://www.omegahat.net/SWinTypeLibs
.COM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.