Re: [Rd] I want to get a reference to this time series object

2009-09-16 Thread mtmorgan
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

Re: [Rd] Extending [ method to S4 class and drop argument (PR#9211)

2006-09-08 Thread mtmorgan
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) { +