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.
Solved! Go to Solution.
Is it set up for r?
R-ArcGIS Bridge | Spatial Analysis in R & GIS for Spatiotemporal Data (esri.com)
Is it set up for r?
R-ArcGIS Bridge | Spatial Analysis in R & GIS for Spatiotemporal Data (esri.com)
Thank you Dan, I followed the instructions in your links without any result, then I started from scratch in a different machine (with r 4.0.0 instead of 4.0.3) and it works. I just followed these steps: