<div dir="ltr">Hi,<div><br></div><div>I try to run GRASS73 within R (actually R-studio) using the rgrass7 library on MacOS 10.12.6. I followed the instructions stated in the wiki (<a href="https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7">https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7</a>), however some of the commands were not working for me. For instance, "grass70 --config path" (also with grass73 etc) does not work here, however I found the path to the application which is: /Applications/GRASS-7.3.app; i.e. using "open /Applications/GRASS-7.3.app" opens my grass installation.</div><div><br></div><div>So I tried to initialize GRASS (North Carolina location - PERMANENT) from within R using the initGRASS() command:</div><div><br></div><div><div>initGRASS(gisBase = "/Applications/GRASS-7.3.app", home = tempdir(), </div><div>          gisDbase = "/Users/Johannes_Radinger/Documents/GRASS-GIS/",</div><div>          location = "nc_spm_08_grass7", mapset = "PERMANENT", SG="elevation",</div><div>          override=TRUE)</div></div><div><br></div><div>However I get following error(s):</div><div><div>sh: g.gisenv: command not found</div><div>sh: g.gisenv: command not found</div><div>sh: g.gisenv: command not found</div><div>sh: g.gisenv: command not found</div><div>sh: g.gisenv: command not found</div><div>sh: g.version: command not found</div><div>Error in system(paste("g.version", get("addEXE", envir = .GRASS_CACHE),  : </div><div>  error in running command</div></div><div><br></div><div>So what I am doing wrong? Do I miss some arguments in my command or is this related to my Mac environment? Any suggestion I should try to solve that problem?</div><div><br></div><div>Thanks and best regards,</div><div>Johannes</div><div><br></div></div>