> write.table(NULL) Error in which(unlist(lapply(x, function(x) is.character(x) || is.factor(x)))) : argument to "which" is not logical Is this correct behavior? It seems harsh to abort an entire run just because one of the tables you generated happened to be NULL. -JT