Olivier Lefevre wrote: > Anyway you are right that it would still return the kind of object, only > subsetted, which is not I want.
I mean [] would do that; I know [[]] doesn't. Yet I still don't see why one accepts vector arguments but not the other: they are both indexing operators. It is such inconsistencies that make languages hard to learn. -- O.L. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.