Solved ! the problem was the date 04/02/2012 the "/" made him think there is more folders thanks -- View this message in context: http://r.789695.n4.nabble.com/Write-to-dynamic-file-name-tp4631841p4631843.html Sent from the R help mailing list archive at Nabble.com.