Learn R Programming

⚠️There's a newer version (1.2.2) of this package.Take me there.

DBI (version 0.3.1)

R Database Interface

Description

A database interface (DBI) definition for communication between R and relational database management systems. All classes in this package are virtual and need to be extended by the various R/DBMS implementations.

Copy Link

Version

Install

install.packages('DBI')

Monthly Downloads

696,767

Version

0.3.1

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Hadley Wickham

Last Published

September 24th, 2014

Functions in DBI (0.3.1)

dbSendQuery

Execute a statement on a given database connection.
dbClearResult

Clear a result set.
dbExistsTable

Does a table exist?
dbHasCompleted

Has the operation completed?
dbGetStatement

Get the statement associated with a result set
dbListConnections

List currently open connections.
dbIsValid

Is this DBMS object still valid?
dbReadTable

Copy data frames to and from database tables.
dbGetRowsAffected

The number of rows affected by data modifying query.
dbGetDBIVersion

Determine the current version of the package.
dbListResults

A list of all pending results.
dbGetInfo

Get DBMS metadata.
SQL

SQL quoting.
dbConnect

Create a connection to a DBMS.
dbDataType

Determine the SQL data type of an object.
make.db.names

Make R identifiers into legal SQL identifiers.
transactions

Begin/commit/rollback SQL transactions
DBIResult-class

DBIResult class.
dbColumnInfo

Information about result types.
dbFetch

Fetch records from a previously executed query.
dbGetQuery

Send query, retrieve results and then clear result set.
DBIDriver-class

DBIDriver class.
DBIObject-class

DBIObject class.
print.list.pairs

Print a list of pairs.
dbSetDataMappings

Set data mappings between an DBMS and R.
dbDriver

Load and unload database drivers.
dbDisconnect

Disconnect (close) a connection
DBIConnection-class

DBIConnection class.
dbGetRowCount

The number of rows fetched so far.
dbCallProc

Call an SQL stored procedure
dbListTables

List remote tables.
dbRemoveTable

Remove a table from the database.
dbGetException

Get DBMS exceptions.
dbListFields

List field names of a remote table.
dbiCheckCompliance

Check a driver for compliance with DBI.