Comments (8)
Julien,
Thank you for the report. It looks like a character encoding issue, I'm guessing your locale is set to one that includes non-ASCII characters, and the code didn't anticipate that. I'm looking into the issue now.
from r-bridge-install.
I got an error running the install R bindings script and was able to solve this by running ArcMap as Administrator.
from r-bridge-install.
@mhogeweg the current release (2 days ago) should notify you immediately if you need to install as admin, unfortunately for 10.3.1 it needs to write to the users' Program Files directory which is protected.
from r-bridge-install.
Same for me. So I added Full Control privileges in the security settings for the R folder. But my problem with import rtools persists: 'module' object has no attribute 'install_package'
After running “Install R Bindings”:
Executing: InstallBindings false
Start Time: Mon Dec 21 07:45:27 2015
Running script InstallBindings...
Traceback (most recent call last):
File "", line 164, in execute
AttributeError: 'module' object has no attribute 'install_package'
Failed to execute (InstallBindings).
Failed at Mon Dec 21 07:45:27 2015 (Elapsed Time: 0.00 seconds)
After running “Update R Bindings”:
Executing: UpdateBindings
Start Time: Mon Dec 21 07:48:37 2015
Running script UpdateBindings...
Traceback (most recent call last):
File "", line 47, in execute
AttributeError: 'module' object has no attribute 'update_package'
Failed to execute (UpdateBindings).
Failed at Mon Dec 21 07:48:37 2015 (Elapsed Time: 0.00 seconds)
After running “Print R Version”
Executing: RVersion
Start Time: Mon Dec 21 07:51:05 2015
Running script RVersion...
Traceback (most recent call last):
File "", line 74, in execute
AttributeError: 'module' object has no attribute 'r_version'
Failed to execute (RVersion).
Failed at Mon Dec 21 07:51:05 2015 (Elapsed Time: 0.00 seconds)
It seems that rtools isn’t importing fully into “R integration.pyt”
The debugging recommendation suggests checking these folders. I don’t have this and so what should I do from here?
C:\Users\Documents\R\win-library) into the requested place, C:\Program Files (x86)\ArcGIS\Desktop\Rintegration
from r-bridge-install.
when I ran the install 'as Administrator' it worked for me.
from r-bridge-install.
@julienrenaudleca Sorry for the long delay getting back to you. I think this issue has been solved, let us know if you have any further issues using the installation.
from r-bridge-install.
Hello ,mine is arcgis 10.4 ,R 3.2.5
**I received the folllowing information when I install R bindings.Hope you can help me!!
Executing: InstallBindings true
Start Time: Wed Apr 27 16:28:29 2016
Running script InstallBindings...
Saving URL to 'c:\users\duaen\appdata\local\temp\tmpmvkipw\arcgisbinding_1.0.0.118.zip'
Traceback (most recent call last):
File "", line 164, in execute
File "E:\ESRI\R_arcgis\r-bridge-install-master\rtools\install_package.py", line 196, in install_package
save_url(download_url, package_path)
File "E:\ESRI\R_arcgis\r-bridge-install-master\rtools\github_release.py", line 33, in save_url
f.write(r.read())
File "E:\ESRI\python\ArcGIS10.4\Lib\socket.py", line 355, in read
data = self._sock.recv(rbufsize)
File "E:\ESRI\python\ArcGIS10.4\Lib\httplib.py", line 612, in read
s = self.fp.read(amt)
File "E:\ESRI\python\ArcGIS10.4\Lib\socket.py", line 384, in read
data = self._sock.recv(left)
File "E:\ESRI\python\ArcGIS10.4\Lib\ssl.py", line 734, in recv
return self.read(buflen)
File "E:\ESRI\python\ArcGIS10.4\Lib\ssl.py", line 621, in read
v = self._sslobj.read(len or 1024)
error: [Errno 10053]
Failed to execute (InstallBindings).
Failed at Wed Apr 27 16:51:57 2016 (Elapsed Time: 23 minutes 27 seconds)
from r-bridge-install.
Hello @codeql,
I've made a new release of the ArcGIS binding package which supports offline installation (see instructions). This should also serve to solve the problem you described, it looks like in your case the call to download the bridge library itself from Python is failing. This is likely to do a proxy or firewall which may restrict access to resources via Python. If you follow those instructions, and with your browser place the downloaded arcgisbinding_1.0.0.118.zip file into the same directory as the "R integration" python toolbox, the installation should proceed without needing to use Python to download the file.
Cheers, Shaun
from r-bridge-install.
Related Issues (20)
- Red X issue HOT 6
- Error initializing R interpreter * in Telecoupling Toolbox
- Direct write from `sf` to GDB - Esri Contribution to OpenFileGDB HOT 1
- package ‘arcgisbinding’ is not available as a binary package for R 4.1 HOT 1
- Error: Could not bind to a valid ArcGIS Pro installation (ArcGIS 10.7 and R 4.0.0) HOT 4
- Error: 'Failed to initialize R interpreter' in ArcGIS Pro GP script HOT 1
- R 64-bit vs Arcmap 32-bit HOT 1
- r-bridge-install in arcmap10.7 HOT 5
- arc.write error HOT 20
- R-4.2.0 arcgisbinding not available HOT 4
- R 4.X Compatibility HOT 2
- Install R bindings issue HOT 1
- Loading Arcgisbinding Issue HOT 6
- Install R bindings failed HOT 2
- Failed to Load Notebook HOT 1
- Install R-ArcGIS bridge using a virtual machine on a mac HOT 3
- not working with R 4.3.0 HOT 1
- R-Bridge to ArcSDE throws error (Error in .call_proxy("dataset.open", .Object, path) : cannot open dataset)
- Fatal crash in RStudio when trying to open feature service
- 404 error bad url HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r-bridge-install.