Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The duckdb R package

License

NotificationsYou must be signed in to change notification settings

duckdb/duckdb-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DuckDB logo

duckdb

DuckDB is an in-process SQL OLAP database management system.It is designed to support analytical query workloads and is optimized for fast query execution.This repository contains the R bindings for DuckDB.

Installation from CRAN

Installing the package from source may take up to an hour.Consider using binary Windows/macOS packages from CRAN for recent R versions, orPosit Package Manager for various flavors of Linux or older R versions.

install.packages("duckdb")

Installation from r-universe

Installing the package from source may take up to an hour.Binaries are available for recent versions of R.Reviewhttps://docs.r-universe.dev/install/binaries.html for configuring installation of binary packages on Linux.

install.packages("duckdb",repos= c("https://duckdb.r-universe.dev","https://cloud.r-project.org"))

Installation from GitHub

Installing the package from GitHub may take up to an hour.

# install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))pak::pak("duckdb/duckdb-r")

User Guide

See theR API in the DuckDB documentation.

Building

To build the R package, you first need to clone this repository and install the dependencies:

# install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))pak::pak()

Then, install:

~duckdb-r: R CMD INSTALL.

Set theMAKEFLAGS environment variable to-j8 or similar for parallel builds.Configureccache for faster repeated builds.

If you wish to test new DuckDB functionality with duckdb-r, make sure your clone ofduckdb-r is one level deeper than your clone ofduckdb (e.g.R/duckdb-r andduckdb).Then run the following commands:

~ (cd duckdb&& git checkout {{desired_branch}})~ (cd R/duckdb-r&& scripts/vendor.sh)~ (cd R/duckdb-r&& R CMD INSTALL .)

It helps if both the duckdb directory and duckdb-r directory are clean.

Vendoring

This package includes a vendored copy of the DuckDB C++ library. The vendoring process is automated and runs hourly to synchronize with the upstream DuckDB repository. For detailed information about how vendoring works, the relationship betweenmain andnext branches, and manual vendoring procedures, seescripts/VENDORING.md.

Contributors

Thanks to allcontributors to this repository, and to those who contributed when the code was still hosted in the mainduckdb/duckdb repository:

Mark Raasveldt, Pedro Holanda, Tom Ebergen, Reijo Sund, Nicolas Bennett, Patrik Schratz, Tishj, Laurens Kuiper, Sam Ansmink, Andy Teucher, Hadley Wickham, Jonathan Keane, Lindsay Wray, Richard Wesley, Elliana May, Edwin de Jonge, Dewey Dunnington, Carlo Piovesan, Andre Beckedorf, Tania Bogatsch, Pedro Ferreira, Maximilian Girlich, James Lamb, James Atkins, usurai, Ubuntu, Noam Ross, Michael Antonov, Jeroen Ooms, Jamie Lentin, Jacob, and Chilarai.

About

The duckdb R package

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors29


[8]ページ先頭

©2009-2025 Movatter.jp