I can't understand why you doubled "(" "if((combos[e,f]==1) " ----- A R learner. -- View this message in context: http://r.789695.n4.nabble.com/TRUE-FALSE-tp2318668p2318684.html Sent from the R help mailing list archive at Nabble.com.