pyRef: get the location (reference) of an 'PythonInR_Object'

Description Usage Arguments Examples

View source: R/PyOperators.R

Description

The function pyRef return the variable name of an virtual Python object.

Usage

1
pyRef(x)

Arguments

x

an PythonInR_Object

Examples

1
2
3
4
5
if ( pyIsConnected() ){
x <- pyObject("sys")
pyRef(x)
## [1] "sys"
}

PythonInR documentation built on May 2, 2019, 5:17 p.m.