Learn R Programming

reticulate (version 1.3)

r-py-conversion: Convert between Pyton and R objects

Description

Convert between Pyton and R objects

Usage

py_to_r(x)

r_to_py(x, convert = FALSE)

Arguments

x

Object to convert

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

Converted object