https://bugs.documentfoundation.org/show_bug.cgi?id=151603

--- Comment #20 from Paul Smith <[email protected]> ---
Thanks, Werner, for your directions! Unfortunately, the pacth does not fix the
reported problem:

--------------------------------------- 
>>> rpart = importr('rpart')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/packages.py",
line 496, in importr
    pack = InstalledSTPackage(env, name,
  File "/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/packages.py",
line 203, in __init__
    self.__fill_rpy2r__(on_conflict=on_conflict)
  File "/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/packages.py",
line 329, in __fill_rpy2r__
    (super(SignatureTranslatedPackage, self)
  File "/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/packages.py",
line 264, in __fill_rpy2r__
    rpyobj = cv.rpy2py(riobj)
  File "/usr/lib64/python3.10/functools.py", line 889, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File
"/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/conversion.py", line
252, in _rpy2py
    raise NotImplementedError(
NotImplementedError: Conversion 'rpy2py' not defined for objects of type
'<class 'rpy2.rinterface_lib.sexp.SexpEnvironment'>'
---------------------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to