Bioconductor Developer Survey 2026 Now Open!

DuckDBSpatial

This is the development version of DuckDBSpatial; to use it, please install the devel version of Bioconductor.

DuckDB-Backed Spatial Data Structures


Bioconductor version: Development (3.24)

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.

Author: Patrick Aboyoun [aut, cre], Genentech, Inc. [cph]

Maintainer: Patrick Aboyoun <aboyounp at gene.com>

Citation (from within R, enter citation("DuckDBSpatial")):

Patrick Aboyoun. DuckDBSpatial: DuckDB-Backed Spatial Data Structures. doi:10.18129/B9.bioc.DuckDBSpatial, R package version 0.99.7, https://bioconductor.org/packages/DuckDBSpatial.

Generated from the package metadata; it may differ from the package's own citation.

Installation

To install this package, start R (version "4.6") and enter:

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

## The following initializes the development version of Bioconductor
BiocManager::install(version = "devel")

BiocManager::install("DuckDBSpatial")

For older versions of R, please refer to the appropriate Bioconductor release.

Documentation

To view documentation for the version of this package installed in your system, start R and enter:

browseVignettes("DuckDBSpatial")
2. Design and extension of DuckDBSpatial HTML R Script
1. Introduction to DuckDBSpatial HTML R Script
Reference ManualPDF
NEWSText
LICENSEText

Details

biocViews DataImport, DataRepresentation, Infrastructure, Software
Version0.99.7
In Bioconductor sinceBioC 3.24 (R-4.6)
License MIT + file LICENSE
Depends R (>= 4.5.0), methods, DuckDBDataFrame, sf
Imports BiocGenerics, S4Vectors, DBI, dbplyr, dplyr, wk
System Requirements
URLhttps://github.com/Genentech/DuckDBSpatial
Bug Reportshttps://github.com/Genentech/DuckDBSpatial/issues
See More
Suggests knitr, rmarkdown, BiocStyle, testthat, jsonlite, lwgeom, nanoparquet
Linking To
Enhances
Depends On Me
Imports Me
Suggests Me BiocDuckDB
Links To Me
Build Report Build Report, r-universe

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package DuckDBSpatial_0.99.7.tar.gz
Windows Binary (x86_64) DuckDBSpatial_0.99.7.zip
macOS Binary (big-sur-x86_64) DuckDBSpatial_0.99.7.tgz
macOS Binary (sonoma-arm64) DuckDBSpatial_0.99.7.tgz
Source Repositorygit clone https://git.bioconductor.org/packages/DuckDBSpatial
Source Repository (Developer Access)git clone git@git.bioconductor.org:packages/DuckDBSpatial
Package Short Url https://bioconductor.org/packages/DuckDBSpatial/
Package Downloads ReportDownload Stats