hey Jim. brilliant, very short and productive, wish that i can have such skill in the future, i will try to learn about all functions that you used. thanks very much for helping me, i really appreciate it. -- View this message in context: http://n4.nabble.com/More-than-on-loop-tp1015851p1460459.html Sent from the R help mailing list archive at Nabble.com.