Skip to content
Prev 170839 / 398513 Next

rbind: number of columns of result is not a multiple of vector length (arg 1)

You could 'split' the dataframe and then write out each element: something like

x <- split(data.info, data.info$station.id)
for (i in names(x)) write.csv(x[[i]], file=paste(i, ".csv", sep=""))
On Tue, Feb 17, 2009 at 10:11 PM, CJ Rubio <cjrubio at kongju.ac.kr> wrote: