I am writing R6 classes including some key lines of python code in their methods using py_eval routines of reticulate. In those calls I naturally need to use the member variables of the particular local environment. The advised r.varname reference in those calls seem to see only Global Environment in R, not local members.
Are there any means in py_run calls to reach the member variables of the local R6 objects (or actually environments) instead of variables just in the Global Environment?
(Or am I missing something very simple...)