GithubHelp home page GithubHelp logo

Comments (13)

scw avatar scw commented on June 14, 2024

Hello @dlradke,

It looks like the script is having trouble picking up where your R installation is. Did you install R using the standard installer? Could you post the results of running the "R Installation Details" script in the toolbox?

Thanks,
Shaun

from r-bridge-install.

dlradke avatar dlradke commented on June 14, 2024

Executing: RInstallDetails
Start Time: Mon Aug 10 18:34:34 2015
Running script RInstallDetails...
R not installed. Please install R prior to using
this toolbox. The R installation can be found at:
http://www.r-project.org/

Completed script RInstallDetails...
Failed to execute (RInstallDetails).
Failed at Mon Aug 10 18:34:34 2015 (Elapsed Time: 0.01 seconds)

Looks like that may be the issue. I used the standard installer for R and its path is "C:\Program Files\R\R-3.2.1"

Dan

from r-bridge-install.

scw avatar scw commented on June 14, 2024

OK, it looks like the detection logic for finding your R installation from the registry is failing. Could you do the following to help me debug your issue?

  1. Open the Run box (Win+R) and type regedit
  2. From the Edit > Find dialog, search the keys for the string R-Core, as seen here:
    screen shot 2015-08-11 at 12 58 38 am
  3. On my machine (64-bit), searching for that string shows two locations:
    HKEY_LOCAL_MACHINE\SOFTWARE\R-core
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core
  1. Once it finds a location, right click on the key named 'R-Core', and select export. That will create a '.reg' file, that's really just text. Attach the text contents of that file here (if possible).

Thanks!

from r-bridge-install.

dlradke avatar dlradke commented on June 14, 2024

Here is the result.

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core
Class Name:
Last Write Time: 8/10/2015 - 6:51 PM

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core\R
Class Name:
Last Write Time: 8/10/2015 - 6:51 PM
Value 0
Name: InstallPath
Type: REG_SZ
Data: C:\Program Files\R\R-3.2.1

Value 1
Name: Current Version
Type: REG_SZ
Data: 3.2.1

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core\R\3.2.1
Class Name:
Last Write Time: 8/10/2015 - 6:51 PM
Value 0
Name: InstallPath
Type: REG_SZ
Data: C:\Program Files\R\R-3.2.1

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core\R32
Class Name:
Last Write Time: 8/10/2015 - 6:51 PM
Value 0
Name: InstallPath
Type: REG_SZ
Data: C:\Program Files\R\R-3.2.1

Value 1
Name: Current Version
Type: REG_SZ
Data: 3.2.1

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core\R32\3.2.1
Class Name:
Last Write Time: 8/10/2015 - 6:51 PM
Value 0
Name: InstallPath
Type: REG_SZ
Data: C:\Program Files\R\R-3.2.1

thanks

from r-bridge-install.

dlradke avatar dlradke commented on June 14, 2024

Hey Shaun,

similar to your computer, R-Core was in 2 locations. Here is the print out to the other one.

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\R-core
Class Name:
Last Write Time: 8/25/2015 - 12:08 PM

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R
Class Name:
Last Write Time: 8/25/2015 - 12:08 PM
Value 0
Name: InstallPath
Type: REG_SZ
Data: C:\Program Files\R\R-3.2.1

Value 1
Name: Current Version
Type: REG_SZ
Data: 3.2.1

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\3.2.1
Class Name:
Last Write Time: 8/25/2015 - 12:08 PM
Value 0
Name: InstallPath
Type: REG_SZ
Data: C:\Program Files\R\R-3.2.1

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R64
Class Name:
Last Write Time: 8/25/2015 - 12:08 PM
Value 0
Name: InstallPath
Type: REG_SZ
Data: C:\Program Files\R\R-3.2.1

Value 1
Name: Current Version
Type: REG_SZ
Data: 3.2.1

Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R64\3.2.1
Class Name:
Last Write Time: 8/25/2015 - 12:08 PM
Value 0
Name: InstallPath
Type: REG_SZ
Data: C:\Program Files\R\R-3.2.1

Still having no luck with the install.

Dan

from r-bridge-install.

scw avatar scw commented on June 14, 2024

Hello Dan,

We've updated both the bridge library, and the installer. Could you update from GitHub (or download the Zip archive again) and see if the newer release fixes your issue? I'm now checking both the 32- and 64-bit registry hives, which hopefully will fix your problem. It did on the one machine I had that had a similar configuration to the one you initially posted. If it doesn't work, also let me know and we can keep digging.

Cheers,
Shaun

from r-bridge-install.

dlradke avatar dlradke commented on June 14, 2024

Hey Shaun,

The install actually worked about 2 or 3 weeks ago. Not sure why but it didn't work in the morning, and then did later that afternoon. It seems to be working well and I've been able to start developing tools using R scripts. I will run the update script just to make sure I'm up to date. Thanks for fixing the issue.

Dan

from r-bridge-install.

dlradke avatar dlradke commented on June 14, 2024

I downloaded the new release and it now gives me an error when I try and run a geoprocessing tool.

Error in .Call("arc_warning", conditionMessage(w), PACKAGE = "rarcproxy") :
"arc_warning" not available for .Call() for package "rarcproxy"

I have tried to run the install bindings script and checked the override box and get this error.

Executing: InstallBindings true
Start Time: Tue Sep 08 14:59:27 2015
Running script InstallBindings...
https://github.com/R-ArcGIS/r-bridge/releases/download/v1.0.0.113/arcgisbinding_1.0.0.113.zip
Saving URL to 'c:\users\johnra~1\appdata\local\temp\arcc016\tmpamvapm\arcgisbinding_1.0.0.113.zip'
package 'arcgisbinding' successfully unpacked and MD5 sums checked

  • installing to library 'C:/Program Files/R/R-3.2.1/library'
    Warning: cannot remove prior installation of package 'arcgisbinding'
    R package path: C:\Program Files\R\R-3.2.1\library\arcgisbinding.
    ArcGIS 10.3.1 detected. Creating link to package.
    Completed script InstallBindings...
    Succeeded at Tue Sep 08 14:59:29 2015 (Elapsed Time: 2.09 seconds)

Don't know what is going on but not thrilled that it is no longer working.

Cheers,
Dan

from r-bridge-install.

dlradke avatar dlradke commented on June 14, 2024

I fixed the install issue but I still get the "Error in .Call(..." when trying to run any geoprocessing tools, including the ones included in the zip file.

Dan

from r-bridge-install.

scw avatar scw commented on June 14, 2024

@dlradke D'oh! Sorry for introducing this issue for you. Fortunately, the fix should be easy enough. On your machine, R is installing packages into the "Program Files" directory, which requires escalated privileges to write to. We're aware of the issue and are planning a better fix, but for now, could you:

  1. Close ArcMap
  2. Right click on the icon you use to open it and select "Run as Administrator" and then try the upgrade script a second time.

Sorry again for the inconvenience. Note -- I wrote this prior to your second message, so see if it does fix it. If not, you can try reinstalling from scratch using the 'Install Bindings' option and select 'Overwrite existing'.

from r-bridge-install.

dlradke avatar dlradke commented on June 14, 2024

Okay seems to be working now. Had a bit of a scare there.

Thanks for the help.
Dan

from r-bridge-install.

scw avatar scw commented on June 14, 2024

Great, glad the bridge is working fine now. I think we've resolved the original registry issue with the latest release, so I'm going to mark this issue as closed, but you're welcome to create a new issue if you hit any further problems. Feel free to contact our R team if you need any assistance, we're at [email protected].

from r-bridge-install.

josesevilla avatar josesevilla commented on June 14, 2024

Hi there,
I am now having the same error message for error in calling rarcproxy,
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...

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.