Hello R users,

I am trying to run the command rbind gathering the name of tables to bind
from a list argument.

Unfortunately I am not able to obtain it.

I would appreciate any suggestions.  Below is a reproducible example with
the problem.

Thanks

Matteo

 

##############################################################

ZA<-data.frame(x = 1:2, y = 1:10,z=letters[1:5])

ZB<-data.frame(x = 1, y = 5:24,z=letters[2])

a<-as.list(ls(pattern= "^Z?"));a

#############################################################

I_would_like_ZC<-rbind(ZA,ZB)  # this is what I would like to have

#############################################################

b<-(paste(a, collapse = ','))

call("rbind",(b)) # I am not able to remove ""

b<-noquote(paste(a, collapse = ','))

call("rbind",(b)) # I am not able to remove  ""


        [[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