py_get_attr: Get an attribute of a Python object

Description Usage Arguments Value

View source: R/python.R

Description

Get an attribute of a Python object

Usage

1
py_get_attr(x, name, silent = FALSE)

Arguments

x

Python object

name

Attribute name

silent

TRUE to return NULL if the attribute doesn't exist (default is FALSE which will raise an error)

Value

Attribute of Python object


merlingrace/reticulate1 documentation built on Nov. 4, 2019, 6:25 p.m.