-
Notifications
You must be signed in to change notification settings - Fork 979
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
make 'CsubsetDT' callable from C in other packages #3751
Comments
Indeed my use cases for calling |
@lsilvest could you fill PR to address your request? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm writing a package (lsilvest/dtts.utils) that has functions that subset
data.table
.These functions provide time series functionality to a
data.table
that has as first column ananotime
type (eddelbuettel/nanotime) and will allow pretty cool subsettings on intervals, alignment to a grid, etc.For this I need efficient subsetting at C level and I wouldn't need to duplicate C code if
CsubsetDT
were exported. It's a one liner to export it (R_RegisterCCallable("data.table", "CsubsetDT", (DL_FUNC) &subsetDT);
) and I have committed it in a fork that could be pulled (7c84115).Any chance this would be possible?
The text was updated successfully, but these errors were encountered: