Teradata R Package Function Reference - dbConnect for NativeDriver - Teradata R Package - Look here for syntax, methods and examples for the functions included in the Teradata R Package.

Teradata® R Package Function Reference

Product
Teradata R Package
Release Number
16.20
Published
February 2020
Language
English (United States)
Last Update
2020-02-28
dita:id
B700-4007
lifecycle
previous
Product Category
Teradata Vantage

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.