search for: com_table

Displaying 1 result from an estimated 1 matches for "com_table".

2011 Apr 26
1
Hook into Coercion Framework for data.frame
...e R coercion framework to allow me to convert table-like data stored within a COM object into a data.frame. Some of our COM objects have their own table-like data storage, and from R's point of view it's an object (EXTPTRSXP) decoarated with a sepcial symbol so we can easily identify it. COM_Table <- a_method_that_creates_the_object() class(COM_TABLE) > "QS.IpdgRelation" In addition, we have a method that transforms this object into a data.frame: relation.to.data.frame <- function(obj) { ... } A user can easily transform the above object into a data.frame by calling:...