Hello Jim,

jim holtman <jholtman <at> gmail.com> writes:

> 
> try:
> 
> myindex <- "01-Dec-2008"
> 
> weblog_by_date[[myindex]]$host
[...]


Ooops yes, that works!

Thank you!

I don't know why this works, and the other thing not.

I thought the difference between [] and [[]] is just,
that the one gives back a list and the other grabs out the
values of a list by "unlist"ing it... so that one gets a vector instead of a
complete list.


Ciao,
   oliver

______________________________________________
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.

Reply via email to