Re: [R] matrix from list

From: Olivier Lefevre <lefevrol_at_yahoo.com>
Date: Sat, 26 Apr 2008 17:43:31 +0200

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.


R-help_at_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. Received on Sat 26 Apr 2008 - 16:29:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 27 Apr 2008 - 06:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive