R-ArcGIS / r-bridge-install

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

Unable to run R script from ArcGIS #80

Closed sylvainpetiteau closed 5 years ago

sylvainpetiteau commented 5 years ago

Hello,

After install is performed, I can use arcgisbinding in R, but I have an error message when running R script in ArcGIS: *** Please install ArcGIS R integration package Failed to execute (SemiparametricRegression).

According to R installation details tool, everything is installed properly: R (version 3.5.2), installed in: C:\Program Files\R\R-3.5.2 R packages will be installed into: C:\VULCAN_HOME\R\win-library\3.5 All R package libraries detected: C:\VULCAN_HOME\R\win-library\3.5;C:\Program Files\R\R-3.5.2\library The ArcGIS R package (version 1.0.1.232) is installed at: C:\VULCAN_HOME\R\win-library\3.5\arcgisbinding Completed script RInstallDetails...

scdub commented 5 years ago

@sylvainpetiteau in the R environment you're unable to see the bridge, could you report the output of:

.libPaths()

Does it include the C:\VULCAN_HOME\R\win-library location?

sylvainpetiteau commented 5 years ago

I get following result:

.libPaths() [1] "C:/VULCAN_HOME/R/win-library/3.5" "C:/Program Files/R/R-3.5.2/library"

sylvainpetiteau commented 5 years ago

solved using the closed issue "arcgisbinding installed but arctoolbox not recognizing"