for example, i want to sum all the row entries if column 1 takes the value "boy". anyone knows ? -- View this message in context: http://old.nabble.com/any-equivalent-SUM-IF-statement-in-R-tp26467889p26467889.html Sent from the R help mailing list archive at Nabble.com.