# RSQLite

> SQLite embedded in R, with a DBI-compliant interface

Source: https://talira.ai/catalog/rsqlite-nhvyfva4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / drivers](https://talira.ai/categories/libraries/databases/drivers), [languages / r](https://talira.ai/categories/languages/r)
- Licence: LGPL-2.1-or-later[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Kirill Müller](https://talira.ai/orgs/kirill-muller.md)

RSQLite embeds the [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md) database engine in R and implements the [DBI](https://talira.ai/catalog/dbi-r-vavnr76a.md) 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.

## Links

- Website: https://rsqlite.r-dbi.org/
- GitHub: https://github.com/r-dbi/RSQLite
- Docs: https://rsqlite.r-dbi.org/reference/

## 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

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 1.00, adoption 0.51, momentum 0.15, community 0.71, backing 0.30, extensibility 0.00.

- last commit yesterday
- 115 commits in the last 90 days
- latest release v3.53.3 4 months ago
- 342 GitHub stars
- 57 contributors
- backed by Kirill Müller

## Related

- Works with [DBI (R)](https://talira.ai/catalog/dbi-r-vavnr76a.md)
- Works with [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md)

## Alternatives

- [DBI (R)](https://talira.ai/catalog/dbi-r-vavnr76a.md): R's common database interface, implemented by backends for PostgreSQL, MySQL, SQLite, ODBC and more

## Sources

[^1]: https://github.com/r-dbi/RSQLite/blob/main/DESCRIPTION (checked 28 Nov 2026)
[^2]: https://github.com/r-dbi/RSQLite/blob/main/LICENSE.md (checked 28 Nov 2026)
