R-ArcGIS / r-bridge-install

Install the R ArcGIS Tools
Apache License 2.0
188 stars 59 forks source link

Interpreter Initialization Failure #84

Open CurBe opened 5 years ago

CurBe commented 5 years ago

I'm running through the Spatial Analytics with ArcGIS exercises and I have run into an error executing an R script from inside ArcMap. I've read through the thread with a similar issue but did not find a solution.

Arc R Error

The bridge installed without issue and the R Version and R Installation scripts run without issue. R Installation points to the correct location.

Running as Admin results in the same error.

Running Library(arcgisbindings) and arc.check_product() work without issue.

I do not have Anaconda installed. R and Arc are installed in on the same drive.

I did have some trouble with Arc failing to locate specific tools due to multiple Python installations but that has been corrected. I am guessing that could potentially be the problem.

Any advice would be greatly appreciated.

Nova-Scotia commented 4 years ago

Hello,

I am having the same issue - I had R V. 3.6.2 running with the R-ArcGIS bridge and successfully ran R scripts within ArcPro. After upgrading to R V 4.0.0 and arcgisbinding 1.0.1.240, I can no longer run R scripts in ArcPro, getting the message "Failed to initialize R interpreter".

Like @CurBe, I can still run Arc commands from within R.

I DO have Anaconda installed, but it was never a problem before the updates.