[R] Difference between a[[i]] and a[i]
David.Epstein at warwick.ac.uk
Tue Feb 3 00:45:09 CET 2009
I'm sure I've read about the difference between a[[i]] and a[i] in R, but I
cannot recall what I read. Even more disturbing is the fact that I don't
know how to search the newsgroup for this. All the different combinations I
tried were declared not to be valid search syntax.
1. What sort of object can the operators  and [] be applied to? How do
they differ? I mean objects in standard R, not in packages that provide
conceivable overloading of these operators (if that's possible).
2. Meta-question: how could one search for an answer to this question in the
3. Meta-question: how could one search for an answer to this in the FAQ?
4. Meta-question: how could one search for an answer to this in any of the
links one is shown after typing help.start()?
Thanks for any help.
View this message in context: http://www.nabble.com/Difference-between-a--i---and-a-i--tp21801145p21801145.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help