samuel bächler linuxboeserch hi zhang hi 4 4 matrix want switch row 2 row 3 first switch column 2 column 3 easy way following tedious way get want wonder way simplify amatrixrnorm1644 bac2134 1 2 3 4 1 01954458 0299055 163830678 09761293 2 10558561 1225412 006439794 02919717 3 03865482 0682090 052230467 05961534 4 17555946 0679426 057409420 17552651 b 1 2 3 4 1 10558561 1225412 006439794 02919717 2 01954458 0299055 163830678 09761293 3 03865482 0682090 052230467 05961534 4 17555946 0679426 057409420 17552651 ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code thu 07 aug 2008 190709 0200 r switch two rows matrix