
Data Technologies 239
will substantially reduce the time required to install and create large tables.
8.4.1 DBI
DBI provides a number of classes and generic functions (see Chapter 3
for more details on object-oriented programming) for database interactions.
Different packages then support specific implementations of methods for par-
ticular databases. Some functions are required, and every package must im-
plement them in order to be DBI compliant; other functions are optional and
packages can implement the underlying functionality or not.
In the next code chunk we demonstrate the DBI equivalent of HelloWorld,
using SQLite. In this example, we attach