On Thu, 30 Mar 2006, Patrick Burns wrote:
> I haven't been following all of this thread, but
> it reminds me of a bug that was in S-PLUS not
> too long ago where dimnames could sometimes
> be numeric. This caused some problems that
> were very hard to track down because there were
> no visual clu
I haven't been following all of this thread, but
it reminds me of a bug that was in S-PLUS not
too long ago where dimnames could sometimes
be numeric. This caused some problems that
were very hard to track down because there were
no visual clues of what was really wrong.
I've been pleased not to
Looking at the code it occurs to me that there is another case you have
not considered, namely dimnames().
rownames<- and colnames<- are just wrappers for dimnames<-, so consistency
does mean that all three should behave the same.
For arrays (including matrices), dimnames<- is primitive. It co
Yet again, this is the wrong list for suggesting changes to R. Please do
use R-devel for that purpose (and I have moved this).
If this bothers you (it all works as documented, so why not use it as
documented?), please supply a suitable patch to the current R-devel
sources and it will be consid