I have been working through the Using the R-ArcGIS Bridge training in the ESRI catalog and I'm encountering a few issues:
I just installed R, so I have R 4.3.1 and the latest version of ArcGIS Pro:
But when I try to run the code from the training in the application, I'm receiving a fatal error and then the program crashes. This is when I'm trying to load the dataset from the exercise:
Any suggestions are welcome. I'm a pretty basic R/RStudio user.
Hey Sara, do you have more context that you can provide? Can you provide the code that you are running that is causing this crash?
Sure! I was actually doing the Using the R-ArcGIS Bridge training module in the ESRI Training catalog
https://www.esri.com/training/catalog/58b5e417b89b7e000d8bfe45/using-the-rarcgis-bridge/
The spot I was having the issue was Step 3 when I was trying to load the library (arcgisbinding) package. Up until Step 3 of the training module, it was going pretty smooth! No errors before that point.
Thank you!
Hm! There's still not too much to work on. Do you happen to have multiple versions of R installed on your machine? It looks like from the screenshot you have R version 4.3.1 installed. Does the output of the `.libPaths()` function match that shown in the geoprocessing options?
Good question! How would I check that? It wasn't a step in the training module, so not sure exactly how to validate it code wise. The video also does show that step.
But to answer the version question - I only have version 4.3.1 installed.
If this helps - this is a screenshot of Step 3 of the module where I was having this issues - this is as far as I got so I wasn't able to really run much code past this point. (The Save part worked at the end - but running the code was the part that generated the error)