Hi,
I study dirt and landforms and I have what (I think) is a very basic question, unless you’re a new GRASS user like me.
I’ve created DEM derivatives in GRASS (via qGIS) and I’m trying to parse them within R using gmeta6(). I know little about GRASS file structure, but it’s evident that g.region is a metadata file of spatial parameters, and that I need to point R towards it, but I can’t find the file or get around this error. This may be more of an R question than a GRASS one, but any suggestions are welcome. Code and errors printed below.
Thanks,
Sam
#load GRASS region data
gmeta6 ← gmeta6()
#read in our 7 raster files from GRASS
x ← readFLOAT6sp(c(“er”,“crosc”,“longc”,“slope”,“profc”,“minic”,“maxic”))
?gmeta6
gmeta6 = gmeta6()
Error in system(cmd0, intern = TRUE) : ‘g.region.exe’ not found
Error in parseGRASS(cmd) : g.region not found
?g.region
No documentation for ‘g.region’ in specified packages and libraries:
you could try ‘??g.region’
??g.region