Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

write dataframe to table with plr

10 views
Skip to first unread message

SunWuKung

unread,
Jun 20, 2018, 11:10:31 AM6/20/18
to

I would like to write back a dataframe to the db in plr.
In standard R I could just do:

require("RPostgreSQL")
con <- dbConnect(dbDriver("PostgreSQL"), dbname = , port = , user = )
data(iris)
dbWriteTable(con, 'iris', iris, row.names=FALSE)

It seems that while many functions of RPostgreSQL are supported in plr, dbWriteTable is not.

Is there a simple method to write a dataframe to the db in plr?
0 new messages