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


reticulate documentation built on Oct. 13, 2023, 1:08 a.m.