Convert between Python and R objects — r-py-conversion (original) (raw)
reticulate 1.42.0
Source: R/conversion.R
r-py-conversion.Rd
Convert between Python and R objects
r_to_py(x, convert = FALSE)
py_to_r(x)
Arguments
A Python object.
Boolean; should Python objects be automatically converted to their R equivalent? If set to FALSE
, you can still manually convert Python objects to R via the py_to_r()
function.
Value
An R object, as converted from the Python object.