Learn R Programming

reticulate (version 1.38.0)

py_function_wrapper: Scaffold R wrappers for Python functions

Description

Scaffold R wrappers for Python functions

Usage

py_function_wrapper(python_function, r_prefix = NULL, r_function = NULL)

py_function_docs(python_function)

Arguments

python_function

Fully qualified name of Python function or class constructor (e.g. tf$layers$average_pooling1d)

r_prefix

Prefix to add to generated R function name

r_function

Name of R function to generate (defaults to name of Python function if not specified)