View source: R/manual_layer_udf.R
execute_array_udf | R Documentation |
This invokes a user-defined function in TileDB Cloud.
execute_array_udf(
array,
udf = NULL,
registered_udf_name = NULL,
selectedRanges,
attrs = NULL,
layout = NULL,
args = NULL,
result_format = "native",
args_format = "native",
namespace = NULL,
language = "r",
resource_class = NULL
)
array |
Name of the array, in the form either |
udf |
An R function which takes a dataframe as argument.
Arguments are specified separately via |
registered_udf_name |
Name of a registered UDF, of the form |
selectedRanges |
List of two-column matrices, one matrix per dimension,
each matrix being a start-end pair: e.g. |
attrs |
Optional list of attributes (default: all) for the server-side code to select for UDF execution. Specifying only what your UDF needs is useful for memory-usage control. |
layout |
One of |
args |
Arguments to the function. If the function takes
no arguments, this can be omitted. If you want to call by
position, use a list like |
result_format |
One of |
args_format |
One of |
namespace |
Namespace within TileDB cloud to charge. If this is null, the logged-in user's username will be used for the namespace. |
language |
If omitted, defaults to |
resource_class |
The resource class to use for the UDF execution. Resource classes define
resource limits for memory and CPUs. If this is 'NULL', then the UDF will execute in the
standard resource class of the TileDB Cloud provider. This can be set to |
Nominally you will first call login
; if not, the results
of the last login at ~/.tiledb/cloud.json
will be used.
All arguments are required.
Return value from the UDF.
Other manual-layer functions:
array_info()
,
compute_sequentially()
,
compute()
,
delayed_args<-()
,
delayed_args()
,
delayed_array_udf()
,
delayed_generic_udf()
,
delayed_sql()
,
delayed()
,
deregister_array()
,
deregister_group()
,
deregister_udf()
,
execute_generic_udf()
,
execute_multi_array_udf()
,
execute_sql_query()
,
get_udf_info()
,
group_info()
,
list_arrays()
,
list_groups()
,
login()
,
register_array()
,
register_udf()
,
update_udf_info()
,
user_profile()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.