search for: file_output

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

2007 Aug 29
1
combining datasets by row
...append by row multiple files) was: cleanup_data<-function(state,count) { out<-matrix() for (i in 1: count) { tmp<-read.csv(paste("CTPP3/",state,i,".csv",sep=""),header=F) out<-rbind(out,tmp) } write.csv(file.out,file='file_output.csv') } I got an error message: cleanup_data('CA',7) Error in match.names(clabs, names(xi)) : names do not match previous names Which name is this error message referring to? I decided to get out of Excel and Access trap..... Thank you very much Taka