Learn R Programming

redshift (version 0.5)

redshift.driver: Create JDBC driver

Description

Creates the JDBC driver used by RJDBC to connect to Redshift. Doesn't need to be used directly by the user redshift.connect calls this automatically.

Usage

redshift.driver(custom_driver = "default")

Arguments

custom_driver
Option to point to a custom PostgreSQL driver JAR. Class name must be "org.postgresql.Driver"

Value

JDBC Driver

Examples

Run this code
require(redshift)
drvr <- redshift.driver()

# drvr <- redshift.driver("/home/myuser/psql/postgresql-9.2-1003.jdbc3.jar")

Run the code above in your browser using DataLab