hi, jholtman its true, the problem was to iniciate the list at the second level. thx a lot -- View this message in context: http://r.789695.n4.nabble.com/automatically-generate-the-output-name-of-my-for-loops-tp3592160p3594397.html Sent from the R help mailing list archive at Nabble.com.