Bioc2026 Registration Open!

DuckDBSpatial

DuckDB-Backed Spatial Data Structures

Bioconductor version: 3.24 · Package version: 0.99.7

Provides DuckDB-backed implementations of spatial data structures for efficient out-of-memory operations on large spatial datasets. The package includes 68 sf-compatible spatial methods (st_intersects, st_contains, st_within, etc.) and GeoParquet 1.0 I/O support via writeGeoParquet(). Ideal for spatial analysis, genomic interval analysis, and integration with BiocDuckDB for MultiAssaySpatialExperiment workflows requiring memory-efficient operations on large datasets.

Installation

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("DuckDBSpatial")

Details

MaintainerPatrick Aboyoun <aboyounp@gene.com>
AuthorPatrick Aboyoun [aut, cre], Genentech, Inc. [cph]
LicenseMIT + file LICENSE
URLhttps://github.com/Genentech/DuckDBSpatial
Bug Reportshttps://github.com/Genentech/DuckDBSpatial/issues
Downloads rank3
Source branchdevel
biocViewsDataImport, DataRepresentation, Infrastructure, Software

Documentation

Download

Follow the installation instructions to use this package in your R session.

Source packageDuckDBSpatial_0.99.7.tar.gz
Windows binary (x86_64)DuckDBSpatial_0.99.7.zip
macOS binary (arm64)DuckDBSpatial_0.99.7.tgz
macOS binary (x86_64)DuckDBSpatial_0.99.7.tgz
Dependencies

Depends: R (>= 4.5.0), methods, DuckDBDataFrame, sf

Imports: BiocGenerics, S4Vectors, DBI, dbplyr, dplyr, wk

Suggests: knitr, rmarkdown, BiocStyle, testthat, jsonlite, lwgeom, nanoparquet

Reverse dependencies

Suggests Me (1): BiocDuckDB