What is the access time for R lists given a name of list element, is it
linear, log, or constant?

Than what are to rules for names in R-lists

That reusing names is possible makes me wonder.

tmp <- as.list(c(1,2,3,4))
names(tmp) = c("a","a","b","b")
tmp
tmp$a


What I am looking for is a standard R data structure which will allow me
for fast and name lookup.




-- 
Witold Eryk Wolski

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to