[R] Named components in a list
juliosergio at gmail.com
Thu Nov 10 20:50:35 CET 2011
Sarah Goslee <sarah.goslee <at> gmail.com> writes:
> You probably want:
> L["NewName"] <- "something"
> or one of the many potential variants.
However, following the idea that the syntactic notation L[i] means
a sublist of L, again the syntactic notation
L[i] <- list(Name=Value)
should mean that the sublist is now assigned the list with the a unique named
element. So I insist this is either a bug or an inconsistency of the language.
More information about the R-help