From pgilbert@bank-banque-canada.ca  Wed Nov 18 16:50:41 1998
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Wed, 18 Nov 1998 11:50:41 -0500
Subject: "[" not "[<-"
References: <199811181621.QAA20954@toucan.stats.ox.ac.uk>
Message-ID: <98Nov18.115341est.13464@mailgate.bank-banque-canada.ca>

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


"[" not "[<-"
Paul Gilbert