Closed Robinlovelace closed 2 years ago
I think that would be interesting; was also mentioned by @veroandreo in https://github.com/rsbivand/rgrass/issues/29#issuecomment-866021930.
It depends on grass
being available in the system PATH though; may not work in each situation?
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.
In released 0.3-5 on CRAN now, thanks!
As described by Vero in the FOSS4G conference the following command in the shell returns GRASS's data path:
Worth auto detecting this?