Displaying 1 result from an estimated 1 matches for "allmet".
Did you mean:
allmem
2010 Aug 18
1
syntax for batching rbind process
...- list() #line 2
for (i in 1:length(test)) { #line 3
imp[i] <- read.csv(test[i]) #line 4
} #line 5
works <- do.call(rbind, imp) #line 6
write.csv(works, "allmet.csv") #line 7
This script has an error at line 4. imp[i] contains only the value
of the first element of test[i]; in other words, every element of
imp[i] equals test[i] [1,1]. Otherwise, the script works. Could
someone please enlighten me as to the correct syntax for line 4?...