Learn R Programming

sqlHelpers (version 0.1.2)

connect: Connect to a database using a connection string via DBI/odbc.

Description

Connect to a database using a connection string via DBI/odbc.

Usage

connect(
  con_str = "Driver={PostgreSQL ANSI};Host=localhost;Port=5432;Database=postgres;"
)

Value

A database connection.

Arguments

con_str

A database connection string.

Examples

Run this code
connect(NULL)

Run the code above in your browser using DataLab