Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201894

Creating tables using dbplyr::copy_to and RJDBC

$
0
0

Just trying to create a table through dbplyr using the copy_to function in a vertica database.

I set up the database connection:

vDriver <- JDBC(driverClass="com.vertica.jdbc.Driver", 
                classPath="C:\\Users\\usrname\\Downloads\\vertica-jdbc-9.2.1-0.jar")

conn <- RJDBC::dbConnect(vDriver, "jdbc:vertica://dexprddbvi01.miscny.nyenet:5433/dexp", "usrname", "pwd")

Then I try to create a table like this:

copy_to(conn, iris, in_schema("schema", "iris"))

But receive the following error:

Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘dbBegin’ for signature ‘"JDBCConnection"’


Viewing all articles
Browse latest Browse all 201894

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>