Thanks for your answer.
I understand that this is long established, but I would suspect that the
usage of extracting by names was then less common (I can easily
admit that this is pure speculation on my side, I have no data to support this).
As R evolves, sometimes things happen to be deprecated (
This is long established and documented on the basic help page for '['.
Further, the convention is widely used in R itself: running 'make check'
would give a few hundred warnings and then fail. Working around those
warnings would be inefficient (involving unnecessary copying of large
objects).
Dear list,
Subsetting vectors/arrays using factors can be seen as misleading, and
I was thinking that it could be discouraged (at least by issuing a
warning).
I could not find whether this was discussed earlier, but I can be
pointed to a reference if I missed any.
The "extract" operator "[" can t