[R-sig-Geo] Problem with initGRASS

Jaime Burbano Girón j@imebg27 @ending from gm@il@com
Fri Nov 23 04:42:12 CET 2018


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]]



More information about the R-sig-Geo mailing list