Description Usage Arguments Value Examples
Provide either the DSN to use ODBC, or set DSN to NULL to use JDBC.
1 2 |
dsn |
The name of the ODBC DSN to use for connecting to Vertica. Must be a string. If NULL, JDBC-use is assumed. |
jdbcpath |
(Only required for JDBC) Path to the JDBC driver on your system. |
dbname |
(Only required for JDBC) The name of the Vertica database instance that you plan to connect to. |
host |
(Only required for JDBC) Host IP of the machine hosting the Vertica instance. |
port |
(Only required for JDBC) Port number of the Vertica server. The Vertica default is 5433. |
user |
(Only required for JDBC) Username of the owner of the database. |
password |
(Only required for JDBC) Password, if any, of the database. |
load_udf |
A boolean value. If TRUE (default), this will automatically register the UDFs into the session. |
A dplyr::src object, src_vertica, to be used with dplyr functions.
1 2 3 4 5 6 7 | ## Not run:
vertica_connection <- src_vertica(dsn="VerticaDSN")
vertica_connection <- src_vertica(dsn=NULL,jdbcpath="/opt/vertica/java/lib/vertica_jdbc.jar",
dbname="foo",host="localhost",port=5433,
user="dbadmin",password="secret")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.