Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in .call_proxy("dataset.open", .Object, path) : cannot open dataset #91

Open
PharaohLotus opened this issue Aug 1, 2024 · 2 comments

Comments

@PharaohLotus
Copy link

PharaohLotus commented Aug 1, 2024

Error in .call_proxy("dataset.open", .Object, path) : cannot open dataset

Code is:

library(arcgisbinding)
arc.check_product()
dataset <- arc.open(path = "C:\EsriTRaining\RArcGISBridge\crashes_per_mile.shp")

Does ArcPRo need to be open or closed once the integration is installed?

There is a comment in a similar question about relative file path. What does this mean?

I checked the file path again, and now in stead of the previous error, A window appears and says fatal error RStudio terminated.

@JosiahParry
Copy link
Contributor

This means that your path is incorrect and cannot be found. You have \ in there which is an escape character.
Please try running dataset <- arc.open(path = "C:/EsriTRaining/RArcGISBridge/crashes_per_mile.shp")

Without further information it is tough to assist.

You can also run file.exists("C:/EsriTRaining/RArcGISBridge/crashes_per_mile.shp") to check if the file does indeed exist.

@PharaohLotus
Copy link
Author

PharaohLotus commented Aug 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants