Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R API! #72

Open
alanpaulkwan opened this issue Jul 28, 2023 · 2 comments
Open

R API! #72

alanpaulkwan opened this issue Jul 28, 2023 · 2 comments
Labels
feature request Feature Request or Proposal help wanted Extra attention is needed

Comments

@alanpaulkwan
Copy link

R has a wonderful data science community. It would be great if there was an R binding.

The DuckDB API is built here, I wonder if this could be template code:

https://github.com/duckdb/duckdb/tree/master/tools/rpkg/R

Worst case, R can do reticulate, which is a Python wrapper.

@lmangani lmangani added help wanted Extra attention is needed feature request Feature Request or Proposal labels Jul 28, 2023
@lmangani
Copy link
Contributor

Thanks for the request. R binding can be supported in libchdb where we have hooks for Go, NodeJS, Rust, etc.

I'm not familiar with R development, but it seems very close to the C/C++ binding.
This template could be a starting point: https://gist.github.com/lmangani/e30edae31ad939e539989b8e326fb449

@dwinkler1
Copy link

I'm a contributor to the RClickhouse package that integrates Clickhouse with R's DBI package. We are wrapping the C++ Clickhouse library to do that. One of the major struggles was to handle data types (R still doesn't support 64bit INTs for example). Maybe our package can provide inspiration. https://github.com/IMSMWU/RClickhouse/tree/master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature Request or Proposal help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants