py_func {reticulate} | R Documentation |
This function could wrap an R function in a Python function with the same signature. Note that the signature of the R function must not contain esoteric Python-incompatible constructs.
py_func(f)
f |
An R function |
A Python function that calls the R function f
with the same signature.