py_to_r_wrapper: R wrapper for Python objects

View source: R/conversion.R

py_to_r_wrapperR Documentation

R wrapper for Python objects

Description

S3 method to create a custom R wrapper for a Python object. The default wrapper is either an R environment or an R function (for callable python objects).

Usage

py_to_r_wrapper(x)

Arguments

x

Python object


rstudio/reticulate documentation built on Nov. 18, 2024, 12:03 p.m.