[R] write.table(NULL)

Jack Tanner ihok at hotmail.com
Tue Aug 3 23:22:04 CEST 2004

 > 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.


More information about the R-help mailing list