GithubHelp home page GithubHelp logo

Comments (11)

guyn2gis avatar guyn2gis commented on June 7, 2024

Trying in Pro 1.1, I get similar results. Above is 10.3.1.

Start Time: Tue Jul 28 18:52:27 2015
Running script InstallBindings...
Pro side by side with 10.3 detected.
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\ArcGISPro21380\tmpg9jg3qgr\arcgisbinding_1.0.0.111.zip'
package 'arcgisbinding' successfully unpacked and MD5 sums checked

  • installing to library 'C:/Users/tcronin/Documents/R/win-library/3.1'
    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:\program files\arcgis\pro\bin\Python\lib\os.py", line 237, in makedirs
    mkdir(name, mode)
    PermissionError: [WinError 5] Access is denied: 'c:\program files\arcgis\pro\Rintegration'
    Failed to execute (InstallBindings).
    Failed at Tue Jul 28 18:52:33 2015 (Elapsed Time: 6.26 seconds)

from r-bridge-install.

dpavlushko avatar dpavlushko commented on June 7, 2024

Make sure that your user has access to create/write into c:\Program Files x86 or try to run ArcMap as an Administrator.

from r-bridge-install.

guyn2gis avatar guyn2gis commented on June 7, 2024

Cool, running as Admin did it...

Executing: InstallBindings true
Start Time: Wed Jul 29 19:18:29 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\arcfc21\tmpx2syjx\arcgisbinding_1.0.0.111.zip'
package 'arcgisbinding' successfully unpacked and MD5 sums checked

  • installing to library 'C:/Program Files/R/R-3.1.2/library'
    Detected package path: C:\Users\tcronin\Documents\R\win-library\3.1\arcgisbinding.
    ArcGIS 10.3.1 detected. Creating link to package.
    Completed script InstallBindings...
    Succeeded at Wed Jul 29 19:18:35 2015 (Elapsed Time: 5.90 seconds)

Do I need to run the binding in Pro too?

from r-bridge-install.

guyn2gis avatar guyn2gis commented on June 7, 2024

Any plans to link up with RStudio...

from r-bridge-install.

guyn2gis avatar guyn2gis commented on June 7, 2024

Ran it anyway...

Start Time: Wed Jul 29 19:24:53 2015
Running script InstallBindings...
Pro side by side with 10.3 detected.
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\ArcGISPro6832\tmp917fg1jw\arcgisbinding_1.0.0.111.zip'
package 'arcgisbinding' successfully unpacked and MD5 sums checked

  • installing to library 'C:/Users/tcronin/Documents/R/win-library/3.1'
    Detected package path: C:\Program Files\R\R-3.1.2\library\arcgisbinding.
    ArcGIS 10.3.1 detected. Creating link to package.
    Completed script InstallBindings...
    Succeeded at Wed Jul 29 19:24:58 2015 (Elapsed Time: 4.91 seconds)

from r-bridge-install.

guyn2gis avatar guyn2gis commented on June 7, 2024

Hopefully this is not a dumb question but are we suppose to install the C++ and the Python tools, where Python is for GP, and C++ is for the interface, or is C++ for writing C++.

from r-bridge-install.

dpavlushko avatar dpavlushko commented on June 7, 2024

RStudio is working well with arcgisbinding. Just remember if you have ArcGIS 10.3.1 then setup RStudio to use 32 bit R: Menu: Tools->Options->R version click 'Change' and set "Use your machine's default version of R(32-bit)". No changes required if you have ArcGISPro (default 64-bit).

from r-bridge-install.

scw avatar scw commented on June 7, 2024

Hello @guyn2gis, as Dima mentioned this will work fine with RStudio -- the demo we did at the UC in a technical session used RStudio. In terms of your second question, you don't need to do anything directly with the C++ ibrary -- it's automatically installed when you use the Python toolbox, and is the mechanism for ArcGIS to "talk" with R. Your code should all be able to only be R for an R script tool. We'll make further clarifications and improvements to the materials available on the web over the coming weeks.

from r-bridge-install.

guyn2gis avatar guyn2gis commented on June 7, 2024

Will the demo be posted here from the uc? I was in the road ahead at the time, perhaps even just the ppt.

And I see arcgisbinding in RStudio so that's cool.

from r-bridge-install.

scw avatar scw commented on June 7, 2024

It'll be up on video.esri.com once the technical sessions are put up there, that generally takes at least a few weeks for all the sessions. The short demo from the UC plenary is up online now, if you'd like to check that out.

from r-bridge-install.

scw avatar scw commented on June 7, 2024

Hi @guyn2gis, marking this as solved since you were able to get the bridge installed. Thanks for trying out the project, and I'll incorporate your ideas into the next round of fixes. Feel free to open a new issue if you have any further problems.

from r-bridge-install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.