Closed MxNl closed 3 years ago
I can see the problem and will try to resolve it; thanks for reporting. The *.bat
only hand off to python, so need special treatment.
It works correctly in GRASS 7.8.3, will search further tomorrow.
Thanks for the quick response and your work!!!
With a freshly installed GRASS 7.8.5-2 stand-alone, I cannot reproduce your problem. parseGRASS("r.mask")
runs correctly for me (Windows 10, R 4.0.3, current rgrass7). Note that I do not use link2GI, this depends on what they do, and I have not installed that package. This works for me with R started inside a GRASS location/mapset with:
library(rgrass7)
parseGRASS("r.mask")
or with GRASS started from R:
library(rgrass7)
initGRASS("C:\\Program Files\\GRASS GIS 7.8", tempfile())
parseGRASS("r.mask")
Please try either of these to remove the possibility that this is not caused by link2GI.
Thanks, your hint solved this issue. This issue is caused by using link2GI.
Hello,
I am using rgrass7_0.2-5 and standalone winGRASS 7.8.5-2 all installed in default directories with
I am starting GRASS with
Everything works as expected, except that I can't run .bat commands like r.mask or v.to.lines etc. It is pretty similar to what I have found here: r-sig-geo.2731867 I also get the error:
Apart from this I haven't found anything related after spending some time on researching.
Do I have to set an ENVIRONMENT VARIABLE that I haven't thought of? I appreciate any help on this.