talira

SQLite embedded in R, with a DBI-compliant interface

open sourceLGPL-2.1-or-laterfree

RSQLite embeds the SQLite database engine in R and implements the DBI specification for it, with DBI's full test suite running in its own tests. The SQLite sources and bundled extensions are compiled into the package rather than linked from the system, so every installation runs the same engine with the same build options and needs no database software installed. It also exposes SQLite features DBI doesn't cover, such as the bundled extension functions, and, when libcurl is present at build time, an experimental read-only HTTP and HTTPS virtual file system for remote, immutable database files.

Problems it solves

  • query a SQLite database from R
  • keep a local database for my R analysis without installing a server
  • use dbGetQuery on a SQLite file in R

Features

  • DBI-compliant interface, tested with DBItest
  • bundled SQLite sources and extensions, statically linked
  • the same engine and build options on every installation
  • experimental read-only HTTP/HTTPS file system for remote databases

Alternatives

The same job

These do what RSQLite does.

  1. DBI (R) R's common database interface, implemented by backends for PostgreSQL, MySQL, SQLite, ODBC and more

Compare RSQLite with the top 3