Hi, I have to write the results of a loop in a database, and I'm using dbWriteTable(con, "output", data). Is it possible to use something like for(i in 1:n) ... tmp <- sprintf("output%s", i) dbWriteTable(con, tmp, dati) to write in the database each table produced by each run of the loop? if not, do you have alternative solutions? thanks in advance -- View this message in context: http://www.nabble.com/dbWriteTable-in-loop-tp24277825p24277825.html Sent from the R help mailing list archive at Nabble.com.