register_binding {arrow}R Documentation

Register compute bindings

Description

register_binding() is used to populate a list of functions that operate on (and return) Expressions. These are the basis for the .data mask inside dplyr methods.

Usage

register_binding(fun_name, fun, notes = character(0))

Arguments

fun_name

A string containing a function name in the form "function" or "package::function".

fun

A function, or NULL to un-register a previous function. This function must accept Expression objects as arguments and return Expression objects instead of regular R objects.

notes

string for the docs: note any limitations or differences in behavior between the Arrow version and the R function.

Value

The previously registered binding or NULL if no previously registered function existed.

Writing bindings


[Package arrow version 19.0.1.1 Index]