Both PBurns and DWin are correct.  I just thought I'd add a clunky "safety
check" approach I use now and then:

Before doing the actual subset, i.e.   df[-which(something),]  ,  do
something like 

if (length(which(something)) <1 ) {skip the subsetting} else
df[-which(something)]





--
View this message in context: 
http://r.789695.n4.nabble.com/omitting-integer-0-rows-from-data-frame-tp4679353p4679386.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to