On Sun, Aug 23, 2009 at 8:53 PM, Bogaso<bogaso.christofer at gmail.com> wrote: > No no, I actually want following result : > > 7, 14, 21, 6, 13, 20, 5, 12, 19,............ How about this? x = c() for (i in 7:1) x = c(x,mat[i,]) Guess that would do the trick. Best, Michael -- Michael Knudsen micknudsen at gmail.com http://lifeofknudsen.blogspot.com/