Skip to content
Prev 1573 / 63421 Next

"[" not "[<-"

As Brian pointed out my comments were regarding [ ] not [<-. I guess I need
another cup of coffee this morning.
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
latter.

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
arrays.

Paul

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._