Dear R User's
    Please help me to debug this issue. I am trying to write some data ( i=
6) to PostgreSQL database, but it not writing.
Is there any issue in the way I use "dbWriteTable"?

++++++++++++++++++ Source Code ++++++++++++++++++++++++

library("DBI")
library("RPostgreSQL")
drv1 <- dbDriver("PostgreSQL")
i=6
connAE1 <- dbConnect(drv1,host = "xx.xxx.xxx.xxx", port = "6443",
dbname="DB",user = "xxxxx",password = "xxx")
as.data.frame(zz[1])
dbGetQuery(connAE1,'SELECT id FROM \"test1\"')
if(dbExistsTable(connAE1, "test1")){
    dbWriteTable(con=connAE1,name='test1.id',value=as.data.frame(i),row.names=T
,overwrite=F ,append=T)
}
dbDisconnect(connAE1)
dbUnloadDriver(drv1)
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Following is the past of the console Log for your Reference

++++++++++++++++++ console log ++++++++++++++++++++++++
> dbGetQuery(connAE1,'SELECT id FROM \"test1\"')
  id
1  1
2  2

> if(dbExistsTable(connAE1, "test1")){
+     dbWriteTable(con=connAE1,name='test1.id',value=as.data.frame(i),row.names=T
,overwrite=F ,append=T)
+    .... [TRUNCATED]
  id
1  1
2  2
+++++++++++++++++++++++++++++++++++++++++++++++++++

Thanks & Regards,
Thomas

	[[alternative HTML version deleted]]

