Problem with initGRASS
Hi everyone,
I'm trying to use GRASS in R, but I can't get to initialize it. I'm using
Ubuntu 18.04 and GRASS 7.4.2. This is the system information:
Versi?n de GRASS: 7.4.2
Revisi?n SVN de GRASS: exported
Fecha de compilaci?n: 2018-10-28
Construir plataforma: x86_64-pc-linux-gnu
GDAL: 2.2.3
PROJ.4: 4.9.3
GEOS: 3.6.2
SQLite: 3.22.0
Python: 2.7.15rc1
wxPython: 3.0.2.0
Plataforma: Linux-4.15.0-38-generic-x86_64-with-Ubuntu-18.04-bionic
I'm running: > initGRASS(gisBase="/usr/lib/grass74/bin",override=T)
And this is the error:
sh: 1: g.gisenv: not foundsh: 1: g.gisenv: not foundsh: 1: g.gisenv:
not foundsh: 1: g.gisenv: not foundsh: 1: g.gisenv: not foundsh: 1:
g.version: not foundError in system(paste("g.version", get("addEXE",
envir = .GRASS_CACHE), :
error in running commandAdem?s: Warning messages:1: In
system(paste(paste("g.gisenv", get("addEXE", envir = .GRASS_CACHE), :
error in running command2: In system(paste(paste("g.gisenv",
get("addEXE", envir = .GRASS_CACHE), : error in running command3: In
system(paste(paste("g.gisenv", get("addEXE", envir = .GRASS_CACHE), :
error in running command4: In system(paste(paste("g.gisenv",
get("addEXE", envir = .GRASS_CACHE), : error in running command5: In
system(paste(paste("g.gisenv", get("addEXE", envir = .GRASS_CACHE), :
error in running command
I verified that g.gisenv and g.version are located in /usr/lib/grass74/bin.
Any suggestion?
Thanks in advance.
Best,
Jaime.
Jaime Burbano Gir?n Estudiante Doctoral Doctorado en Estudios Ambientales y Rurales Pontificia Universidad Javeriana Bogot?, Colombia (57-1) 3208320 Ext. 4844 [[alternative HTML version deleted]]