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

Auto-detect the GRASS path? #64

Closed
Robinlovelace opened this issue Aug 22, 2022 · 4 comments
Closed

Auto-detect the GRASS path? #64

Robinlovelace opened this issue Aug 22, 2022 · 4 comments

Comments

@Robinlovelace
Copy link
Contributor

As described by Vero in the FOSS4G conference the following command in the shell returns GRASS's data path:

grass --config path
/usr/lib/grass80

Worth auto detecting this?

Robinlovelace added a commit to Robinlovelace/rgrass that referenced this issue Aug 22, 2022
@florisvdh
Copy link
Collaborator

I think that would be interesting; was also mentioned by @veroandreo in #29 (comment).

It depends on grass being available in the system PATH though; may not work in each situation?

@Robinlovelace
Copy link
Contributor Author

I'm just proposing it as a fall-back. Best is for it to be set manually or have it set via an environment variable. However, if those are not set, no harm in trying to auto identify it before an error message is created.

@rsbivand
Copy link
Owner

@rsbivand
Copy link
Owner

In released 0.3-5 on CRAN now, thanks!

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

3 participants