Displaying 1 result from an estimated 1 matches for "r_create2darray".
2010 Oct 20
0
Regarding RDCOMClient package
...uot;7y","10y"
,0.23,0.25,0.25,0.19,0.23,0.25,0.28
)
, nrow=7, ncol=2, byrow=FALSE
)
This preserves the type info, but each element in the matrix rates is
type of list.
Then we can add a *case* statement in the function R_create2DArray in
file converters.cpp:
VARIANT v;
...
case VECSXP:
// Only get the first element.
VariantInit(&v);
R_convertRObjectToDCOM(VECTOR_ELT(obj, ctr), &v);
el = (void*)&v;
break;
May I ask if there is another way to work this ar...