"[" not "[<-"

Paul Gilbert pgilbert@bank-banque-canada.ca
Wed, 18 Nov 1998 11:50:41 -0500

As Brian pointed out my comments were regarding [ ] not [<-. I guess I need
another cup of coffee this morning.

>on any of these, but it is less clear what [] should do. As it is not
>clear if the attributes apply to the whole object only, I suspect stripping
>is right.

I have played with this some and the answer is not obvious. There are some
attributes it would be nice to keep and others it would be better to strip. My
tframe attribute has to be consistent with the first dimension of the matrix, so
it either has to be modified when the dim is modified or it has to be stripped
so that there is not conflicting information. I have learned to live with the

On the subject of [ ], it sure would be nice if this supported drop as a vector
logical (e.g. drop=c(T,F,T) ) so that drop could be specified dimension wise for


r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch