Hi,
I'm trying to run a Jupyter notebook that uses r libraries. this is the error message:
<module>
14 import itertools
15 from datetime import datetime
---> 16 import rpy2.rinterface as rinterface
17 import rpy2.rlike.container as rlc
18
~\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\rpy2\rinterface\__init__.py in <module>
44
45 if sys.platform == 'win32':
---> 46 _load_r_dll(R_HOME)
47
48 # cleanup the namespace
~\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\rpy2\rinterface\__init__.py in _load_r_dll(r_home)
28 if r_bin not in os.environ.get('PATH'):
29 os.environ['PATH'] = ';'.join((os.environ.get('PATH'), r_bin, r_mod))
---> 30 ctypes.CDLL(r_dll)
31
32 R_HOME = get_r_home()
~\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\ctypes\__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
346
347 if handle is None:
--> 348 self._handle = _dlopen(self._name, mode)
349 else:
350 self._handle = handle
OSError: [WinError 127] The specified procedure could not be found
I also tried to open R notebook through Jupyter Lab, but all I have there is a python notebook.