[R] Get object name inside lapply
Mohammad Tanvir Ahamed
mashranga at yahoo.com
Thu Feb 25 22:15:04 CET 2016
I want to get object name of a list inside lapply
> c<-list(a=seq(1:5),b=seq(10:20))> lapply(c,names)$aNULL
Why NULL ?
but i am expecting the names of object . Any help will be appreciated .
I want to grab the names of object inside lapply for further process.
Göteborg, Sweden | mashranga at yahoo.com
[[alternative HTML version deleted]]
More information about the R-help