Teradata R Package Function Reference - 16.20 - dbConnect for NativeDriver - Teradata R Package

Teradata® R Package Function Reference

prodname
Teradata R Package
vrm_release
16.20
created_date
February 2020
category
Programming Reference
featnum
B700-4007-098K

Description

Connect to Teradata Vantage using the Teradata SQL driver for R, also called the native driver for R.

Usage

## S4 method for signature 'NativeDriver'
dbConnect(drv, host, uid, pwd = NULL, logmech = NULL, ...)

Arguments

drv

Specifies a NativeDriver object obtained from 'tdplyr::NativeDriver()'

host

Specifies the fully qualified domain name or IP address of a Teradata Vantage System.

uid

Specifies the username to connect with.

pwd

Specifies the password for the connecting user.

logmech

Specifies the logon authentication method. Permitted values are TD2, LDAP, TDNEGO, KRB5 for Kerberos.

...

Additional arguments as supported by the native driver. Currently, none supported.

Value

A "Teradata" connection object.