Displaying 1 result from an estimated 1 matches for "getrcontrol".
Did you mean:
get_control
2004 Oct 30
1
Destructive str(...)?
...just of an external reference), but
still I'm curious as of why this happens. I create (in C code)
EXTPTRSXP and associate a class to it via SET_CLASS. Such objects works
fine until it's passed to str as the following output demonstrates:
> c<-.MCall("RController","getRController")
> c
[1] "<RController: 0x3be5d0>"
> str(c)
Class 'ObjCid' length 1 <pointer: 0x3be5d0>
> c
<pointer: 0x3be5d0>
> str(c)
length 1 <pointer: 0x3be5d0>
The .MCall basically produces an external reference and assigns a class
(ObjCid)...