Connect R and Vertica using RODBC

后端 未结 2 541
花落未央
花落未央 2020-12-10 17:19

This is my first time connecting to Vertica. I have already connected to a MySQL database sucessfully by using RODBC library.

I have the database setup in vertica an

2条回答
  •  无人及你
    2020-12-10 17:29

    You have to use double slash in the classPath arguement in JDBC function. for example,

    vDriver <- JDBC(driverClass="com.vertica.jdbc.Driver", 
    classPath="C:\\Program   Files\\Vertica Systems\\JDBC\\vertica-jdk5-6.1.2-0.jar")
    

    worked for me, while just copying and pasting the route failed.

提交回复
热议问题