Skip to content

GRASS .bat commands not run after linking with linkGRASS7 #53

@ofr1tz

Description

@ofr1tz

Hi,

when using linkGRASS7 to initialise GRASS, I cannot run GRASS .bat commands.

I am using standalone winGRASS 7.8.5, rgrass7 0.2-5 and link2GI 0.4-6.

R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)

Starting Grass with ...

linkGRASS7(srtm, default_GRASS7 = c("C:\\Program Files\\GRASS GIS 7.8", "GRASS GIS 7.8", "NSIS"))

... I am able to use writeRAST/readRAST and run GRASS .exe commands with execGRASS, but not .bat commands such as r.fillnulls. I get the following error message:

Error : XML content does not seem to be XML: 'onnte nicht gefunden werden.'
Zusätzlich: Warnmeldung:
In system(cmd0, intern = TRUE) :
  Ausführung von Kommando 'r.fillnulls.bat --interface-description' ergab Status 1
Fehler in parseGRASS(cmd, legacyExec = legacyExec) : 
  r.fillnulls not parsed

See also this rgrass7 issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions