I have a list of objects. How do I grab the name of just one object from the list? As in:
LIST <- list(A=1:5, B=1:10) LIST$A some.way.cool.function(LIST$
You can just use:
> names(LIST) [1] "A" "B"
Obviously the names of the first element is just
> names(LIST)[1] [1] "A"