Package: rgrass 0.5-3

Steven Pawley

rgrass: Interface Between 'GRASS' Geographical Information System and 'R'

An interface between the 'GRASS' geographical information system ('GIS') and 'R', based on starting 'R' from within the 'GRASS' 'GIS' environment, or running a free-standing 'R' session in a temporary 'GRASS' location; the package provides facilities for using all 'GRASS' commands from the 'R' command line. The original interface package for 'GRASS 5' (2000-2010) is described in Bivand (2000) <doi:10.1016/S0098-3004(00)00057-1> and Bivand (2001) <https://www.r-project.org/conferences/DSC-2001/Proceedings/Bivand.pdf>. This was succeeded by 'spgrass6' for 'GRASS 6' (2006-2016) and 'rgrass7' for 'GRASS 7' (2015-present). The 'rgrass' package modernizes the interface for 'GRASS 8' while still permitting the use of 'GRASS 7'.

Authors:Roger Bivand [aut], Sebastian Jeworutzki [ctb], Rainer Krug [ctb], Robin Lovelace [ctb], Markus Neteler [ctb], Steven Pawley [cre, aut], Floris Vanderhaeghe [ctb]

rgrass_0.5-3.tar.gz
rgrass_0.5-3.zip(r-4.7-any)rgrass_0.5-3.zip(r-4.6-any)rgrass_0.5-3.zip(r-4.5-any)
rgrass_0.5-3.tgz(r-4.6-any)rgrass_0.5-3.tgz(r-4.5-any)
rgrass_0.5-3.tar.gz(r-4.7-any)rgrass_0.5-3.tar.gz(r-4.6-any)
rgrass_0.5-3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rgrass/json (API)

# Install 'rgrass' in R:
install.packages('rgrass', repos = c('https://osgeo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/osgeo/rgrass/issues

Pkgdown/docs site:https://osgeo.github.io

On CRAN:

Conda:

grass-gis

8.38 score 33 stars 2 packages 172 scripts 785 downloads 37 exports 3 dependencies

Last updated from:7740c980e1. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK198
source / vignettesOK287
linux-releaseOK165
macos-releaseOK167
macos-oldrelOK196
windows-develOK89
windows-releaseOK90
windows-oldrelOK104
wasm-releaseOK148

Exports:doGRASSexecGRASSget.defaultFlagsOptionget.echoCmdOptionget.GIS_LOCKget.ignore.stderrOptionget.legacyExecOptionget.stop_on_no_flags_parasOptionget.suppressEchoCmdInFuncOptionget.useInternOptiongetLocationProjgetXMLencodinggmetagmeta2grdinitGRASSparseGRASSread_RASTread_VECTremove_GISRCset.defaultFlagsOptionset.echoCmdOptionset.GIS_LOCKset.ignore.stderrOptionset.legacyExecOptionset.stop_on_no_flags_parasOptionset.suppressEchoCmdInFuncOptionset.useInternOptionsetXMLencodingstringexecGRASSunlink_.gislockunset.GIS_LOCKvColumnsvDataCountvect2neighvInfowrite_RASTwrite_VECT

Dependencies:clirlangxml2

Coercion between object formats
Introduction | Loading and attaching packages | "SpatVector" coercion | "sf" | "Spatial" | "SpatRaster" coercion | "stars" | "RasterLayer" | References

Last update: 2024-12-30
Started: 2022-07-20

Use of GRASS interface
Introduction | Starting R inside GRASS | Starting GRASS inside R | Temporary GRASS location | Existing GRASS location | References

Last update: 2024-12-30
Started: 2022-07-20

Readme and manuals

Help Manual

Help pageTopics
Run GRASS commandsdoGRASS execGRASS getXMLencoding parseGRASS print.GRASS_interface_desc setXMLencoding stringexecGRASS
Reads GRASS metadata from the current LOCATIONget.defaultFlagsOption get.echoCmdOption get.ignore.stderrOption get.legacyExecOption get.stop_on_no_flags_parasOption get.suppressEchoCmdInFuncOption get.useInternOption getLocationProj gmeta gmeta2grd print.gmeta set.defaultFlagsOption set.echoCmdOption set.ignore.stderrOption set.legacyExecOption set.stop_on_no_flags_parasOption set.suppressEchoCmdInFuncOption set.useInternOption
Initiate GRASS sessionget.GIS_LOCK initGRASS remove_GISRC set.GIS_LOCK unlink_.gislock unset.GIS_LOCK
Read and write GRASS raster filesread_RAST write_RAST
Read and write GRASS vector object filesread_VECT vColumns vDataCount vect2neigh vInfo write_VECT