Thank you Tariq. That works perfectly. Roger ¨Tariq Khan <tariq.khan at gmail.com> writes: > You might just want to try this, it is quite efficient: > > as.numeric(t(as.matrix(x))) >