Thanks so much! The single & did it, and now I know how that works -- View this message in context: http://r.789695.n4.nabble.com/Basic-vector-logic-not-working-tp3656465p3657958.html Sent from the R help mailing list archive at Nabble.com.