The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Getting Started

library(dbProject)

Introduction

The dbProject package provides connection management for local DuckDB databases. It uses pins for persistent storage and enables automatic reconnection.

Creating a dbProject

Working with Data

Pinning Tables

Disconnecting and Reconnecting

# Disconnect
proj$disconnect()
proj
#> ─────────────────────────────────── dbProject ──────────────────────────────────
#> ✖ Disconnected
#> ── Board Content ───────────────────────────────────────────────────────────────
#> Board Path: '/scratch/4727117.1.linga/RtmptrKXZ9/dbproject_demo1dd9765c5a615e'
#> # A tibble: 2 × 6
#>   name             type  title          created             file_size meta      
#>   <chr>            <chr> <chr>          <dttm>              <fs::byt> <list>    
#> 1 cachedConnection rds   connConnectio… 2026-05-04 15:44:53       253 <pins_met>
#> 2 mtcars           rds   mtcars: a pin… 2026-05-04 15:44:55       286 <pins_met>
#> ── Database Content ────────────────────────────────────────────────────────────
#> ℹ No active connection.

# Reconnect
proj$reconnect()
proj
#> ─────────────────────────────────── dbProject ──────────────────────────────────
#> ✔ Connected
#> ── Board Content ───────────────────────────────────────────────────────────────
#> Board Path: '/scratch/4727117.1.linga/RtmptrKXZ9/dbproject_demo1dd9765c5a615e'
#> # A tibble: 2 × 6
#>   name             type  title          created             file_size meta      
#>   <chr>            <chr> <chr>          <dttm>              <fs::byt> <list>    
#> 1 cachedConnection rds   connConnectio… 2026-05-04 15:44:53       253 <pins_met>
#> 2 mtcars           rds   mtcars: a pin… 2026-05-04 15:44:55       286 <pins_met>
#> ── Database Content ────────────────────────────────────────────────────────────
#> Database Path:
#> '/scratch/4727117.1.linga/RtmptrKXZ9/dbproject_demo1dd9765c5a615e/demo.duckdb'
#> ℹ Tables:
#> • mtcars

Reading Pinned Tables

Cleanup

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.