Skip to content

dbWriteTable on virtual linux box

1 message · Tomoaki NISHIYAMA

#
Hi,
What version of RPostgreSQL are you using?

Is the PostgreSQL server working on the same virtualbox or are
you to communicate the PostgreSQL server running on the host
environment?

If you are using an old version of RPostgreSQL, it cannot
dbWriteTable to other hosts, but the most
recent release version (0.1-7) should work.

Another comment on your code:
the table argument will only treated as the table name even if the  
string
contains one or more periods in current implementation.
If you want to write in non-default schema you need to change the
default schema beforehand.

For future implementation, I am thinking of allowing
something like c("schemaname", "tablename"),
but not sure on how many people agree, and is not implemented anyway.