R: Convert between Python and R objects

r-py-conversion {reticulate} | R Documentation

## Convert between Python and R objects

### Description

Convert between Python and R objects

### Usage

    r_to_py(x, convert = FALSE)

    py_to_r(x)

### Arguments

`x` | A Python object.
`convert` | `TRUE` to automatically convert Python objects to their R equivalent. If you pass `FALSE` you can do manual conversion using the `py_to_r()` function.

### Value

An R object, as converted from the Python object.

[Package reticulate version 1.6 Index]