try ... new_m = m[c(2,7,8),c(1,4,6,7)] HTH Pete -- View this message in context: http://r.789695.n4.nabble.com/How-to-doulbe-all-the-value-on-a-matrix-tp3221213p3221234.html Sent from the R help mailing list archive at Nabble.com.