x = runif(10) x[4] = NA sum(x, na.rm = T) -- View this message in context: http://r.789695.n4.nabble.com/Sum-of-a-couple-of-variables-of-which-a-few-have-NA-values-tp4282448p4282483.html Sent from the R help mailing list archive at Nabble.com.