COMDate-class {RDCOMClient} | R Documentation |
Several types of VARIANTs in COM represent their value as a number which is interpreted appropriately based on the type of the VARIANT. For example, a date is the number of days since January 1, 1900, i.e. Midnight Jan 1, 1900 is 2. Similarly, a date-time value contains the hour, minute and second information in the decimal part of the number. In order to be able to associate the VARIANT type with the value when converting the VARIANT to R, we use these classes which provide the numeric value but also class information corresponding to the VARIANT.
Objects can be created by calls of the form new("COMDate",
...)
,
etc. They are currently created implicitly in the C code that
performs the conversion from VARIANT objects to R.
In the future, we will provide facilities for the reverse direction.
.Data
:"numeric"
this is the numeric vector in which the value is stored.
Class "numeric"
, from data part.
Class "vector"
, by class "numeric".
No methods defined with class "COMDate" 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 http://www.omegahat.org/SWinRegistry