[R] dbWriteTable in loop

jasmine1958 ilenia.fronza at gmail.com
Tue Jun 30 21:27:44 CEST 2009


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.




More information about the R-help mailing list