search for: reanum

Displaying 1 result from an estimated 1 matches for "reanum".

Did you mean: ranum
2013 Mar 12
1
loading data frames and rbind them
...rows). Each xls file is named with a number, i.e. 12345.xls and is contained in a folder with same name, say 12345) Once loaded, I want to rbind all of them to obtain a single database. I think I successfully did the first part, using "assign": for (i in lista_rea_c){ name=paste("reaNum",i,sep="",collapse=NULL) assign(name,read.xlsx(file=paste(path,i,"/",i,".xls",sep="",collapse=NULL),1,header=TRUE,as.data.frame=TRUE)) } where lista_rea_c contains the "numbers" and is obtained as: lista_rea_c = list.files(path = "/User...