It doesn't work... where should change? Thanks. -- View this message in context: http://r.789695.n4.nabble.com/Help-How-to-use-loop-to-achieve-this-aim-tp2819894p2922193.html Sent from the R help mailing list archive at Nabble.com.