[GRASS-stats] GRASS GIS 7.0 (stable) and R integration issue
Helmut Kudrnovsky
hellik at web.de
Fri Oct 7 10:49:53 PDT 2016
>I've put a Windows binary and source of rgrass7_0.1-9 on:
>
>http://spatial.nhh.no/R/rgrass7/
>
>which I believe resolves the issue. Please test and report back (on list,
>subscribe first, then reply or post). Please also check with addons
>present to be sure that the fix works both with and without addons.
tested here with:
System Info
GRASS Version: 7.3.svn
GRASS SVN revision: r69683
Build date: 2016-10-07
Build platform: x86_64-w64-mingw32
GDAL: 2.1.1
PROJ.4: 4.9.3
GEOS: 3.5.0
SQLite: 3.14.1
Python: 2.7.5
wxPython: 2.8.12.1
Platform: Windows-8-6.2.9200 (OSGeo4W)
-----------------------------
with addons:
C:\>set PATH=%PATH%;"C:\Program Files\R\R-3.3.1\bin\x64"
C:\>R
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
[...]
> library("rgrass7")
Lade n├Âtiges Paket: sp
Lade n├Âtiges Paket: XML
GRASS GIS interface loaded with GRASS version: GRASS 7.3.svn (2016)
and location: nc_spm_08_grass7
[...]
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 14393)
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rgrass7_0.1-9 XML_3.98-1.4 sp_1.2-3
loaded via a namespace (and not attached):
[1] grid_3.3.1 lattice_0.20-34
[...]
> parseGRASS("r.flip")
Command: r.flip
Extension: .exe
Description: Flips an image.
Keywords: Flips an image.
Parameters:
name: input, type: string, required: yes, multiple: no
keydesc: name, keydesc_count: 1
[Name der Eingabe-Rasterkarte]
name: output, type: string, required: yes, multiple: no
keydesc: name, keydesc_count: 1
[Name der Ausgabe-Rasterkarte]
Flags:
name: w [East-West flip] {FALSE}
name: b [Both N-S and E-W flip] {FALSE}
name: overwrite [Ausgabedateien d├╝rfen bereits existierende Dateien
├╝berschreiben.] {FALSE}
name: help [Print usage summary] {FALSE}
name: verbose [Ausf├╝hrlicher Ausgabemodus] {FALSE}
name: quiet [Schweigsamer Ausgabemodus] {FALSE}
[...]
> parseGRASS("r.northerness.easterness")
Command: r.northerness.easterness
Extension: .bat
Description: Calculation of northerness, easterness and the interaction
between northerness and slope
Keywords: Raster, Gelände, aspect, slope, sun
Parameters:
name: elevation, type: string, required: yes, multiple: no
keydesc: name, keydesc_count: 1
[Name of elevation raster map]
Flags:
name: help [Print usage summary] {FALSE}
name: verbose [Ausf├╝hrlicher Ausgabemodus] {FALSE}
name: quiet [Schweigsamer Ausgabemodus] {FALSE}
-----------------------------
without addons:
C:\>set PATH=%PATH%;"C:\Program Files\R\R-3.3.1\bin\x64"
C:\>R
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
[...]
> library("rgrass7")
Lade n├Âtiges Paket: sp
Lade n├Âtiges Paket: XML
GRASS GIS interface loaded with GRASS version: GRASS 7.3.svn (2016)
and location: nc_spm_08_grass7
[...]
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 14393)
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rgrass7_0.1-9 XML_3.98-1.4 sp_1.2-3
loaded via a namespace (and not attached):
[1] grid_3.3.1 lattice_0.20-34
[...]
> parseGRASS("r.region")
Command: r.region
Extension: .exe
Description: Setzt die Begrenzungs-Definition (boundary) f├╝r eine
Rasterkarte.
Keywords: Raster, Metadaten
Parameters:
name: map, type: string, required: yes, multiple: no
keydesc: name, keydesc_count: 1
[Name of raster map to change]
name: region, type: string, required: no, multiple: no
keydesc: name, keydesc_count: 1
[Setze Region von benannter Region.]
name: raster, type: string, required: no, multiple: no
keydesc: name, keydesc_count: 1
[Setze Region angepasst an diese Rasterkarte.]
name: vector, type: string, required: no, multiple: no
keydesc: name, keydesc_count: 1
[Setze Region angepasst an diese Vektorkarte.]
name: n, type: string, required: no, multiple: no
keydesc: value, keydesc_count: 1
[Wert f├╝r die n├Ârdliche Grenze.]
name: s, type: string, required: no, multiple: no
keydesc: value, keydesc_count: 1
[Wert f├╝r die s├╝dliche Grenze.]
name: e, type: string, required: no, multiple: no
keydesc: value, keydesc_count: 1
[Wert f├╝r die ├Âstliche Grenze.]
name: w, type: string, required: no, multiple: no
keydesc: value, keydesc_count: 1
[Wert f├╝r die westliche Grenze.]
name: align, type: string, required: no, multiple: no
keydesc: name, keydesc_count: 1
[Rasterkarte, an die angepasst werden soll.]
Flags:
name: c [Übernehme von der aktuellen Region.] {FALSE}
name: d [Übernehme von der Standard-Region.] {FALSE}
name: help [Print usage summary] {FALSE}
name: verbose [Ausf├╝hrlicher Ausgabemodus] {FALSE}
name: quiet [Schweigsamer Ausgabemodus] {FALSE}
[...]
> parseGRASS("r.northerness.easterness") # GRASS addon
Error in system(cmd0, intern = TRUE) :
'r.northerness.easterness.exe' not found
Fehler in parseGRASS("r.northerness.easterness") :
r.northerness.easterness not found
-----------------------------
the issue seems to be fixed;
thanks!
-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GRASS-GIS-7-0-stable-and-R-integration-issue-tp5281770p5289824.html
Sent from the Grass - Stats mailing list archive at Nabble.com.
More information about the grass-stats
mailing list