r-arcgis / r-bridge-install Goto Github PK
View Code? Open in Web Editor NEWInstall the R ArcGIS Tools
License: Apache License 2.0
Install the R ArcGIS Tools
License: Apache License 2.0
The tool should display the current R being installed into from both the 'install' and 'upgrade' steps. If the default top-level registry key is missing, let the user select one of the installations, and set this version to be the correct top-level install in the registry.
Hi, developers,
I am. I am very sorry to bother you again by this issue.
I use ArcGIS 10.3.1 (and tried ArcGIS 4, too) and have installed the latest version of R 3.3.2.
The problem I am facing is that empty "R Integration.pyt," may be caused by ASCII.
It says that "ascii' codec can't decode byte 0x8e in position 10: ordinal not in range(128),"
The folder "r-bridge-install-master" is at C:. I am very happy if you can suggest the hint to
solve this problem.
I am trying to run the "Install R Bindings" from the "R Integration.pyt" and get the error below. I have ArcGIS 10.3.1 and R 3.2.1. I have tried the suggested troubleshooting techniques on the main github page but have had no success. It looks like it is having trouble reading the .py scripts but I could be mistaken. Is anyone else having this problem or does anyone have any suggestions on where to go from here? I've copy and pasted the details from the geoprocessing window in Arc.
Executing: InstallBindings true
Start Time: Mon Aug 10 16:34:41 2015
Running script InstallBindings...
https://github.com/R-ArcGIS/r-bridge/releases/download/v1.0.0.111/arcgisbinding_1.0.0.111.zip
Saving URL to 'c:\users\susanr~1\appdata\local\temp\arcc146\tmpxqfp7t\arcgisbinding_1.0.0.111.zip'
Traceback (most recent call last):
File "", line 177, in execute
File "C:\Dan\arcgisbindingR\r-bridge-install-master\rtools\install_package.py", line 77, in install_package
execute_r('Rcmd', 'INSTALL', package_path)
File "C:\Dan\arcgisbindingR\r-bridge-install-master\rtools\bootstrap_r.py", line 15, in execute_r
if r_install_valid():
File "C:\Dan\arcgisbindingR\r-bridge-install-master\rtools\bootstrap_r.py", line 71, in r_install_valid
valid = path_exists(r_install_path)
File "C:\Dan\arcgisbindingR\r-bridge-install-master\rtools\bootstrap_r.py", line 65, in path_exists
if os.path.exists(path):
File "C:\Python27\ArcGIS10.3\Lib\genericpath.py", line 18, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Failed to execute (InstallBindings).
Failed at Mon Aug 10 16:34:53 2015 (Elapsed Time: 11.42 seconds)
Cheers,
Dan
Running script UpdateBindings... Traceback (most recent call last): File "<string>", line 47, in execute File "~\Downloads\r-bridge-install-master\r-bridge-install-master\rtools\update_package.py", line 28, in update_package validate_environment() TypeError: validate_environment() missing 1 required positional argument: 'overwrite' Failed to execute
(UpdateBindings).`
MRO 3.2.5, had to run Arc Pro as administrator, but also successfully installed downloading the R package as well.
And one other question, is this just installing an R package, or is it updating things in AcrGIS Pro with python? If it is just installing an R package, why not just use devtools::install_github()
? This is what the manual install seems to be instructing but in a manual fashion.
The install script does not run on PC without admin right due to the registry writing task. I manually changed the rpath.py to force it write to HKCU, then it worked.
root_keys = OrderedDict((
# try HKLM, then HKCU
('HKCU', winreg.HKEY_LOCAL_MACHINE),
('HKCU', winreg.HKEY_CURRENT_USER)
))
please make a change in professional way :)
Is there anything special with 10.3.1 that R-bridge is dependent on it?
I suppose it can be used in standalone mode(R script). But to make use of geoprocessing framework, 10.3.1 is needed! Am I right?
I need to use it with 10.2.2.
Greetings!
I really like the idea of having ready access to the R program through ArcGIS. Unfortunately, I am having a problem which I hope has a straightforward solution.
I installed the "arcgisbinding" package for R and get the correct build number for the version of ArcGIS I use (10.3.1). The output from arc.check_product() says "binding dll: rarcproxy." When I run the "R Installation Details" script from within ArcGIS, I receive the correct version of R (3.2.1) in the correct location (H:\R\R-3.2.1).
But when I attempt to run the semiparametric regression tool (I obtained it from here: https://github.com/R-ArcGIS/r-sample-tools), I receive the error:
Start Time: Wed Dec 02 14:02:52 2015
Running script SemiparametricRegression...
Cannot find 'rarcproxy.dll'.
Plese install Rintegration package.
Failed to execute (SemiparametricRegression).
Is there a way that I can troubleshoot this problem? The two programs seem to see each other, but the error suggests otherwise.
Thank you for your time!
Before installation, we should check that users haven't currently loaded the DLL. If the DLL is currently loaded, R can't remove the existing package from the library, and the installation fails.
Hi! I have a problem installing R-ArcGIS Toolbox,
I've downloaded this repo, then I 've created a new Toolbox adding the folder "R Integration.pyt" and only I view a script call it "Tool" that it runs ok, but it doesn't show anything.
I don't know where are the others files,
Thank you for all
Regards
Hey Shaun,
Attached should be a few screen shots of what is happening with the updated zip file. This is occurring on the computer that was having the traceback error. I will also try the new zip file on another computer that was having the red x issue which is a laptop. The current problem is that the dialog box is requesting a "Selected R Version" but will not allow me to input any value.
Thanks,
Yannik
Hi, Please help me to install it.
I try to download it online but I can't .
also I try to download it offline but I can't download arcgisbinding_1.0.0.128.zip this file, the URL is failed.
https://github.com/R-ArcGIS/r-bridge/releases/tag/v1.0.0.128
I don't know the cause.
My windows is 64
R is 32 + 64
My arcgis is 32 10.5
Hi,
I'm really excited to start using the R package.
I installed the arcgisbinding R package following the instructions using ArcCatalog, but when I run arc.check_product() it incorrectly yields "could not bind to a valid ArcGIS installation".
Also, the first time I tried loading the R package a dialogue appeared tell me that the MSVCP110.dll was missing. I installed it from here and then was able to successfully load the package.
Cheers,
Jeff
code
> library(arcgisbinding)
*** Please call arc.check_product() to define a desktop license.
> arc.check_product()
Error in .call_proxy("arc_AoInitialize") :
Could not bind to a valid ArcGIS installation
ArcGIS info from ArcGIS Administrator
DESKTOP
Installation Information
Product Name: ArcGIS 10.3 for Desktop
Release Version: 10.3
Product Version: 10.3.0.4322
Installation Folder: C:\Program Files (x86)\ArcGIS\Desktop10.3\
Installed By: xxxx
Install Date: 6/05/2015
Install Time: 11:35:59
Install Image: C:\Users\xxxx\Documents\ArcGIS 10.3\Desktop\SetupFiles\
Current User: xxxx
Application Data Folder: C:\Users\xxx\AppData\Roaming
System Temporary Folder: C:\Users\xxxx\AppData\Local\Temp\
Service Pack Information
ArcGIS Service Pack: 0 (build 0)
License Manager Environment Variable Information
ARCGIS_LICENSE_FILE: N/A
LM_LICENSE_FILE: N/A
R session info
R version 3.2.1 (2015-06-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 LC_MONETARY=English_Australia.1252
[4] LC_NUMERIC=C LC_TIME=English_Australia.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] arcgisbinding_1.0.0.111
loaded via a namespace (and not attached):
[1] tools_3.2.1
Executing: InstallBindings false
Start Time: Tue Jul 28 18:36:46 2015
Running script InstallBindings...
https://github.com/R-ArcGIS/r-bridge/releases/download/v1.0.0.111/arcgisbinding_1.0.0.111.zip
Saving URL to 'c:\users\tcronin\appdata\local\temp\arc5412\tmpijjw4k\arcgisbinding_1.0.0.111.zip'
Traceback (most recent call last):
File "", line 177, in execute
File "C:\1GIS\PythonProjects\RBridge\r-bridge-install-master\rtools\install_package.py", line 99, in install_package
os.makedirs(r_integration_dir)
File "C:\Python27\ArcGIS10.3\Lib\os.py", line 157, in makedirs
mkdir(name, mode)
WindowsError: [Error 5] Access is denied: u'c:\program files (x86)\arcgis\desktop10.3\Rintegration'
Failed to execute (InstallBindings).
Failed at Tue Jul 28 18:36:49 2015 (Elapsed Time: 2.17 seconds)
Hello!
I am trying to install the R-ARCGIS toolbox but this message appears everytime I click on the install button:
Link failed.
Completed script InstallBindings...
Failed to execute (InstallBindings).
Failed at Mon Jun 19 14:37:07 2017 (Elapsed Time: 2.33 seconds)
Thank you for your help.
Hi,
I am trying to use the arcgisbinding package in R to make a tool for arcgis, but it is not working. The r-bridge-install-master went well in arcmap. The R Script Examples toolbar worked also very good in arcma. When I used the qqplots it returned 4 plots from R in arcmap. But when I tried to check if the arcgis binding package in R had the right license i got an error in R.
When:
library(arcgisbinding)
arc.check_product()
R version 3.2.4 and arcgisbinding is shown as package in R
ArcMap version 10.4
hopefully somebody can help me with this problem.
With kind regards,
Pieter
I'm in the process of installing the R-bridge. When connecting to the folder from ArcMap, the "toolbox" appears with a red X over - see attached snapshot.
I'm using ArcMap 10.5, R 32-bit 3.2.0 and the R-bridge version listed under the "Code" heading of this site. Thank you for any assistance you may be able to provide. - James
I'm getting the following message when I run the script:
**Executing: InstallBindings false
Start Time: Thu Jun 30 16:52:56 2016
Running script InstallBindings...
Traceback (most recent call last):
File "", line 164, in execute
File "C:\Users\SimonKassel\Documents\ArcGIS\r-bridge-install-master\rtools\install_package.py", line 191, in install_package
download_url = release_info()[0]
File "C:\Users\SimonKassel\Documents\ArcGIS\r-bridge-install-master\rtools\github_release.py", line 67, in release_info
json_r = parse_json_url(latest_url)
File "C:\Users\SimonKassel\Documents\ArcGIS\r-bridge-install-master\rtools\github_release.py", line 43, in parse_json_url
r = request.urlopen(url)
File "C:\Python27\ArcGIS10.3\Lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\ArcGIS10.3\Lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "C:\Python27\ArcGIS10.3\Lib\urllib2.py", line 422, in _open
'_open', req)
File "C:\Python27\ArcGIS10.3\Lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Python27\ArcGIS10.3\Lib\urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Python27\ArcGIS10.3\Lib\urllib2.py", line 1181, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "C:\Python27\ArcGIS10.3\Lib\httplib.py", line 995, in request
self._send_request(method, url, body, headers)
File "C:\Python27\ArcGIS10.3\Lib\httplib.py", line 1029, in _send_request
self.endheaders(body)
File "C:\Python27\ArcGIS10.3\Lib\httplib.py", line 991, in endheaders
self._send_output(message_body)
File "C:\Python27\ArcGIS10.3\Lib\httplib.py", line 844, in _send_output
self.send(msg)
File "C:\Python27\ArcGIS10.3\Lib\httplib.py", line 806, in send
self.connect()
File "C:\Python27\ArcGIS10.3\Lib\httplib.py", line 1194, in connect
self.timeout, self.source_address)
File "C:\Python27\ArcGIS10.3\Lib\socket.py", line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
LookupError: unknown encoding: idna
Failed to execute (InstallBindings).
Failed at Thu Jun 30 16:52:56 2016 (Elapsed Time: 0.02 seconds)**
When I run the Install R bindings script in ArcGIS Pro, I receive the following message:
Unable to locate requested R command: C:\Program Files\R\R.3.3.2.2\bin\x64\Rscript.exe
The problem is that in my Program Files folder, I have two R folders: one for R-3.3.2 and one for 3.3.2.2.
In the former (3.3.2), Rscript.exe is effectively located in the x64 folder.
But in the second (3.3.2.2), it is located in the i386 folder. And it looks like the Install R binding tool is looking for Rscript.exe in a place where it doesn't exist.
Thanks for your help.
It would be nice if this tool supported offline installation.
Hi
hoping you can help
I carried out a manual install as #33 this all checks out as installed when running RInstall Details (see bottom). This is on server without internet access
When I try sample tools from the sample projects I get:
Running script ModelBasedClustering...
Cannot find 'rarcproxy.dll'.
Plese install Rintegration package.
Failed to execute (ModelBasedClustering).
Executing: RInstallDetails
Start Time: Wed Jan 04 17:10:16 2017
Running script RInstallDetails...
R (version 3.3.2), installed in: C:\Program Files\R\R-3.3.2
R packages will be installed into: C:\Program Files\R\R-3.3.2\library
All R package libraries detected: C:\Program Files\R\R-3.3.2\library
The ArcGIS R package (version 1.0.0.124) is installed at: C:\Program Files\R\R-3.3.2\library\arcgisbinding
Completed script RInstallDetails...
Succeeded at Wed Jan 04 17:10:16 2017 (Elapsed Time: 0.15 seconds)
Using ArcGIS Desktop 10.5 (Advanced) on Windows 10 (64-bit), I am experiencing an issue which is quite similar to #14. The R side seems to be setup properly
> arcgisbinding::arc.check_product()
product: ArcGIS Desktop ( 10.5.0.6491 )
license: Advanced
and %USERPROFILE%\Documents\R\win-library\3.2\arcgisbinding has been successfully linked to ...\Desktop10.5\Rintegration (i.e., a folder .\arcgisbinding exists therein) using mklink
. But still, R Integration.pyt does not reveal an installation script no matter if ArcGIS has been launched as Admin or not. Here's the output from 'Check Synthax...':
Hello Developers,
I submitted an issue yesterday and today I am getting a different problem on a different computer. I have attached pictures of what issue is arising. This time, I can get within the toolbox but when I click on the Install R binding script, a red arrow is in the dialog box. The error states: " Traceback (most recent call last): File "", line 230, in updateParameters AttributeError: 'NoneType' object has no attribute 'keys' "
Any advise would be great.
Thanks,
Yannik
ArcGIS Pro 2.0.1
R version 3.4.2 (2017-09-28)
Parsing error:
Traceback (most recent call last):
File "C:\Users\cori\GitHub\r-bridge-install\rtools\rpath.py", line 446, in r_pkg_path
package_path_key = winreg.QueryValueEx(pro_reg, package_key)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 8, in
File "C:\Users\cori\Downloads\r-bridge-install-master\r-bridge-install-master\rtools_init_.py", line 17, in
from .install_package import install_package
File "C:\Users\cori\Downloads\r-bridge-install-master\r-bridge-install-master\rtools\install_package.py", line 45, in
PACKAGE_VERSION = r_pkg_version()
File "C:\Users\cori\GitHub\r-bridge-install\rtools\rpath.py", line 476, in r_pkg_version
r_package_path = r_pkg_path()
File "C:\Users\cori\GitHub\r-bridge-install\rtools\rpath.py", line 451, in r_pkg_path
handle_fnf(error)
File "C:\Users\cori\GitHub\r-bridge-install\rtools\rpath.py", line 51, in handle_fnf
log_exception(exception)
File "C:\Users\cori\GitHub\r-bridge-install\rtools\rpath.py", line 65, in log_exception
log.debug("Exception generated: {}".format(str(err).decode(enc, 'ignore')))
AttributeError: 'str' object has no attribute 'decode'
Hi there,
I am now having the same error message in calling rarcproxy as in #3,
I was following the instructioins in the course
"_Part 1 of a two-part webinar series on integrating the statistical programming language R with Esri's ArcGIS for Desktop.
Cameron Plouffe of the Esri Canada Education and Research group covers several basic R programming concepts and manipulating data frames using Hadley Wickham's "dplyr" package, and then demonstrates how you can use the new R-ArcGIS bridge to interface directly to ArcGIS geodatabases within R.
Slide deck:http://slides.com/camplouffe/integrating-r-with-arcgis
Webinar materials: https://github.com/cplouffe/r-arcgis-webinar
Integrating R with ArcGIS (Part 2): https://www.youtube.com/watch?v=TNnCgQ-jG2I
Categoría
Gente y blogs
Licencia
Licencia de YouTube estándar_ "
When going through the Part 1 video of the course, everything seemed to go ok. It is when I tried to add the R script as a tool in arctoolbox (Part 2 of the course after performing the ANOVA analysis) that I had the message:
Executing: Script toronto_crime Drug_Arrests Population 4 C:\Users\josesevilla\Documents\ArcGIS\Default.gdb\toronto_crime_Script2 C:\Users\josesevilla\Documents\ArcGIS\Default.gdb\toronto_crime_Script3
Start Time: Mon Jul 18 10:34:08 2016
Running script Script...
Error in .Call("arc_error", msg, PACKAGE = "rarcproxy") :
"arc_error" not available for .Call() for package "rarcproxy"
Completed script Script...
Succeeded at Mon Jul 18 10:34:09 2016 (Elapsed Time: 1,07 seconds)
I tried running ArcMAP as Administrator but to no avail...
In the ###ArcGIS Pro 1.1+ section in the main README.md, the "sample tools" link gives a 404. https://github.com/R-ArcGIS/r-bridge/tree/master/package/arc/inst/examples
The offline install option isn't working. The problem appears to be that the call to release_info() never returns, i.e., calls sys.exit() instead of returning None as install_package.py seems to expect.
Output:
Executing: InstallBindings false
Start Time: Thu May 26 16:19:05 2016
Running script InstallBindings...
Failed to download 'https://api.github.com/repos/R-ArcGIS/r-bridge/releases/latest', error: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Completed script InstallBindings...
Failed to execute (InstallBindings).
Failed at Thu May 26 16:19:26 2016 (Elapsed Time: 21.14 seconds)
does r-bridge support arcgis desktop 10.4 and arcgis pro 1.2?
I'm unable to run the 'install R bindings' script in ArcGIS Pro 1.1 (as administrator) with R 3.2.2
Running Windows 8.1 x64 on VMware Fusion
Any help is very appreciated!
A.
Running script InstallBindings...
Traceback (most recent call last):
File "", line 164, in execute
File "C:\Users\Ansley Charbonneau\Documents\r-bridge-install-master\r-bridge-install-master\rtools\install_package.py", line 126, in install_package
r_integration_dir = os.path.join(arcmap_install_path, "Rintegration")
File "c:\program files\arcgis\pro\bin\Python\lib\ntpath.py", line 108, in join
result_drive, result_path = splitdrive(path)
File "c:\program files\arcgis\pro\bin\Python\lib\ntpath.py", line 159, in splitdrive
if len(p) > 1:
TypeError: object of type 'NoneType' has no len()
Failed to execute (InstallBindings).
I am encountering the following error in ArcCatalog when attempting to Install R Bindings:
_Executing: InstallBindings true 3.3.3
Start Time: Mon Mar 13 13:01:10 2017
Running script InstallBindings...
Traceback (most recent call last):
File "", line 248, in execute
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\Rintegration\r-bridge-install-master\r-bridge-install-master\rtools\install_package.py", line 150, in install_package
(install_dir, arc_version, product) = arcgis_platform()
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\Rintegration\r-bridge-install-master\r-bridge-install-master\rtools\install_package.py", line 69, in arcgis_platform
info = arcpy.GetInstallInfo()
AttributeError: 'module' object has no attribute 'GetInstallInfo'
Failed to execute (InstallBindings).
Failed at Mon Mar 13 13:01:10 2017 (Elapsed Time: 0.01 seconds)_
Background Info:
Thank you and Please Help!!!!
The screencast to manually install R-bridge from R (https://4326.us/R/zipinst/) displays as a black screen in Chrome and Firefox, under Windows 7 and Windows 10. Are text instructions available?
Screencast.com recommends Chrome, so hoping it's not me missing some obvious plugin.
Shows me this error massage:
"* installing to library 'D:/Users/Documents/R/win-library/3.2'
Unable to locate R package library. Link failed.
Completed script InstallBindings...
Failed to execute (InstallBindings)."
I run .libPaths() in R check my library path, gives me :
"D:/Users/Documents/R/win-library/3.2" "C:/Program Files/R/R-3.2.5/library"
Dear developers,
I am trying to get started with R-ArcGIS bridge, however, I am stucked int he installations process.
I have updated R to the version 3.3.1.
I have installed ArcGIS. ArcMap version 10.4.1 32-bit.
I have downloaded the zip file "r-bridge-install-master.zip".
I have unzipped the folder.
I have opened ArcMap and I have done the conncetion to the unzipped folder.
The toolbox looks empty:
If I open "Item Description" the wondow says: The item's XML contains errors.
What should I do?
Many thanks in advance!
Alice
When I try to run the 'Install R bindings' tool, the 'Select R Version (Set As Default)' option is 3.3.1 and is greyed out and I cannot select a different version of R. I have uninstalled 3.3.1 and installed 3.4.2 and this still happens.
When I run the 'R Installation Details' page I get:
Any ideas?
P.S. I am trying to embrace ArcGIS Pro but sometimes I need to revert back to ArcMap to get something done quickly. I did successful install the bridge in Pro, with no problems.
I use ArcGIS Pro on a VM. R was installed by our admin in a drive in which I cannot write. So when I try to run the install package in ArcGIS Pro it fails because it is trying to write to C: drive. I tried using the manual install in R, but it still tried to install in the default directory. I have tried to install using install.packages() command in R but I'm not sure I've set all the options correctly. Besides it seems that the zip file that I get from the github download is not the one that install.packages is looking for. How to proceed?
hi:
i install R and R -bridge success.
ArcMap running R script success.
but ArcGIS Pro running print
Running script Script...
*** Please install the ArcGIS R integration package
Failed to execute (Script).
and ArcGIS Pro install R-bridge success:
Running script RInstallDetails...
R (version 3.3.1), installed in: D:\Program Files\R\R-3.3.3
R packages will be installed into: D:\Program Files\R\R-3.3.3\library
All R package libraries detected: D:\Program Files\R\R-3.3.3\library;D:\Program Files\R\R-3.3.3\library
The ArcGIS R package (version 1.0.0.124) is installed at: D:\Program Files\R\R-3.3.3\library\arcgisbinding
Completed script RInstallDetails...
Succeeded at 2017年3月13日 15:33:05 (Elapsed Time: 0.08 seconds)
need you help
thank you!
As mentioned in #25, for R users it'd be easiest to install directly from R. Investigate this option.
Currently only does string parsing, but this will fail if the directory name is customized. Try "Current Version" key, then fall back on parsing.
Hey, I think it was already posted here on github, but without any response. So, Im sorry about doble posting, but I have the same issue.
I have student licence of arcgis 10.3.1 and latest R 3.2.3. I tried to run python scripts through arcmap folder connections but, I can't see any. The only thing I see is the basic structure of r-bridge-install-master, that I have on my desktop ("img", "rtools", "R Integration").
I tried to move this folder elsewhere, run arcmap as administrator, reloading the folder, nothing helped. Are there any ideas how to overcome this behaviour?
Thanks
Lukas
Hi, guys,
We need your investigation and assistance ...
Firstly, without firewall, all with R-ArcGIS Bridge 1.0.0.124, including installation and running R models within ArcGIS, are fine. Excellent effort ....
Secondly, with "offline" installation of R-ArcGIS Bridge behind the firewall, the process looks fine (not completely sure).
We got: Error in .Call("arc_error", msg, PACKAGE = "rarcproxy"), once Run the sample 'Model Based Cluster' and other models in ArcGIS.
The details are as follows:
Part 1: Offline Install R bindings:
Executing: InstallBindings true 3.2.5
Start Time: Sun Apr 16 07:49:09 2017
Running script InstallBindings...
Unable to access'https://api.github.com/repos/R-ArcGIS/r-bridge/releases/latest', error: UnauthorizedBrowser.
Unable to get current release information. Trying offline installation.
Found local copy of binding, installing from zip
Rcmd.exe INSTALL d:\users...\appdata\local\temp\tmp4svrl2\arcgisbinding_1.0.0.124.zip
'C:\Program' is not recognized as an internal or external command,
R command returned non-zero exit status.
Rscript.exe d:\users...\appdata\local\temp\tmp4svrl2\install.R
package 'arcgisbinding' successfully unpacked and MD5 sums checked
Installing package into 'D:/Users/.../Documents/R/win-library/3.2'
(as 'lib' is unspecified)
Completed script InstallBindings...
Succeeded at Sun Apr 16 07:49:18 2017 (Elapsed Time: 9.79 seconds)
Part 2: After RUN the sample 'Model Based Cluster' on the above installation:
Executing: ModelBasedClustering spruce_trees D:\Users...\Documents\ArcGIS\Default.gdb\spruce_trees_ModelBasedClust # # #
Start Time: Sun Apr 16 07:50:29 2017
Running script ModelBasedClustering...
Error in .Call("arc_error", msg, PACKAGE = "rarcproxy") :
"arc_error" not available for .Call() for package "rarcproxy"
Completed script ModelBasedClustering...
Succeeded at Sun Apr 16 07:50:31 2017 (Elapsed Time: 1.43 seconds)
I looked into the other issues that were raised on this error but that didn't help.
I use
The toolbox was successfully installed and the check with Print R Version gave the correct result. So far so good.
In R however I get the following result:
> require(arcgisbinding)
Loading required package: arcgisbinding
*** Please call arc.check_product() to define a desktop license.
> arc.check_product()
Error: Could not bind to a valid ArcGIS Pro installation
Any ideas how to solve this?
The report shows
Executing: InstallBindings false
Start Time: Mon May 30 21:33:25 2016
Running script InstallBindings...
Saving URL to 'c:\users\admini~1\appdata\local\temp\arc35a2\tmpbed2zc\arcgisbinding_1.0.0.118.zip'Traceback (most recent call last):
File "", line 164, in execute
File "I:\r-bridge-install-master\rtools\install_package.py", line 214, in install_package
execute_r('Rcmd', 'INSTALL', package_path)
File "I:\r-bridge-install-master\rtools\bootstrap_r.py", line 30, in execute_r
os.putenv("PATH", ";".join([rcommand_dir, sys_path]))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 944: ordinal not in range(128)Failed to execute (InstallBindings).
Failed at Mon May 30 21:33:28 2016 (Elapsed Time: 2.23 seconds)
As is the case with Pro, we should optionally add a per-user library if needed.
I downloaded bridge(as zip), extracted and connect to the parent folder with ArcGIS Catalog. The "R Integration.pyt" show red X and does not expand to reveal install scripts. Opening the items description in the context menu(right mouse down on pyt) results in "The item's XML contains errors."
I'm running with a trial version of ArcGIS 10.3.1 on Windows 8. R 3.2.3 is installed.
Ron
I am running ArcMap 10.3 and and R 3.3.1. I download the file, open ArcMap and R. I go into the toll box and run the tool 'Install R-Bindings.' It errors and i get the following message: Unable to locate R package library. Link failed. How can I locate the R Package library?
The complete line of code is as follows.
Executing: InstallBindings false
Start Time: Tue Aug 02 13:52:31 2016
Running script InstallBindings...
Saving URL to 'c:\temp\arc910b\tmpnbu94_\arcgisbinding_1.0.0.122.zip'
Rcmd.exe INSTALL c:\temp\arc910b\tmpnbu94_\arcgisbinding_1.0.0.122.zip
'C:\Users\Username\Documents\R\R-3.3.1\bin\i386'
CMD.EXE was started with the above path as the current directory.
R command returned non-zero exit status.
Unable to locate R package library. Link failed.
Completed script InstallBindings...
Failed to execute (InstallBindings).
Failed at Tue Aug 02 13:52:34 2016 (Elapsed Time: 3.63 seconds)
I installed on my laptop no problem, but on my desktop (trying in both ArcGIS Pro 1.2 and ArcMap 10.4, run as Administrator) I get the message below:
Messages
Start Time: Tue Apr 05 13:50:13 2016
Running script InstallBindings...
Saving URL to 'C:\Users\rswett\AppData\Local\Temp\ArcGISPro6804\tmpmg4a5rna\arcgisbinding_1.0.0.118.zip'
! 'C:\Program' is not recognized as an internal or external command,
! operable program or batch file.
! R command returned non-zero exit status.
Completed script InstallBindings...
Succeeded at Tue Apr 05 13:50:16 2016 (Elapsed Time: 2.85 seconds)
Hello Developers,
I am having the same issue that alice1020 is having. My screen looks the same with a red x on the R Integration toolbox. Any suggestions with how to fix this would be great.
Thanks,
Yannik
Hello,
using Arcgis 10.3.1
R 3.2.2
I'm having trouble running the 'Install R bindings script'. Here comes the message I get.
Any help appreciated.
Julien
Traceback (most recent call last):
File "", line 177, in execute
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolbox\Toolboxes\r-bridge-install-master\rtools\install_package.py", line 62, in install_package
download_url = release_info()[0]
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolbox\Toolboxes\r-bridge-install-master\rtools\github_release.py", line 67, in release_info
json_r = parse_json_url(latest_url)
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolbox\Toolboxes\r-bridge-install-master\rtools\github_release.py", line 44, in parse_json_url
url, e))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 58: ordinal not in range(128)
Failed to execute (InstallBindings).
Following the instructions for offline-installation on ArcGIS 10.4 with Administrator privileges on a machine where R 3.2.0 is installed both as 32- and 64-bit-Version, I get a "successful" message,
Running script InstallBindings...
Found local copy of binding, installing from zip
Rcmd.exe INSTALL d:\temp\tmps0_kr6\arcgisbinding_1.0.0.119.zip
package 'arcgisbinding' successfully unpacked and MD5 sums checked
* installing to library 'D:/MyUserName/Home/R/win-library/3.2'
Completed script InstallBindings...
but when trying to run an R-Script, I am being told that I haven't installed the "ArcGIS R integration package"
*** Please install ArcGIS R integration package
Failed to execute (myScript).
When running "R Installation Details", I get the following message:
Running script RInstallDetails...
R (version 3.2.0), installed in: C:\Program Files\R\R-3.2.0
R packages will be installed into: C:\Program Files\R\R-3.2.0\library
All R package libraries detected: C:\Program Files\R\R-3.2.0\library
The ArcGIS R package is not installed. Use the 'Install R Bindings' tool to install them.
Completed script RInstallDetails...
Also, in the installation instructions, it says
If that doesn't work, the package directory, "arcgisbinding", that gets installed into the R folder (usually, C:\Users\Documents\R\win-library) into the requested place, C:\Program Files (x86)\ArcGIS\Desktop\Rintegration
which is a) unclear as a verb is missing (copy?) and b) I don't have a directory C:\Program Files (x86)\ArcGIS\Desktop. It is called "C:\Program Files (x86)\ArcGIS\Desktop10.4". Is that of importance?
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.