Quoting Abhijit Bera :
I'm trying to get a reference to this object in C
SWX.RET[1:6,c("SBI,"SPI","SII")]
While i am able to access and use a plain SWX.RET object, I'm getting
confused on how to create an object with the array subscripts like above.
Here is what I tried to do. It doesn't work
Or more in the spirit of method dispatch, and to get some insight into
why this design decision is not a bug:
> setClass("test",representation(x="character"))
[1] "test"
>
> setMethod("[",
+ signature(x="test", drop="missing"),
+ function(x, i, j, ..., drop) {
+