Skip to content
Prev 22598 / 398502 Next

using dbWriteTable() fails

Dear R-List,
I try to use the function dbWriteTable()  from library(Rdbi.PgSQL) in
order to write my dataframe to a postgres-db.
The following command does not work.
Error in dbAppendTable.PgSQL.conn(conn, name, data) :
        Table blah does not exist
it seems, that this command is trying to append the data.frame to an
existing table.
Is there a function, where I can write data.frames to postgres?

BTW, this function erases existing tables with the same error-message as
written above. I guess that this behavior is not correct.
Thank you for your help.
Stephan Holl