https://github.com/osgeo/rgrass
Interpreted interface between the GRASS geographical information system and R
https://github.com/osgeo/rgrass
grass-gis rstats rstats-package
Last synced: 10 months ago
JSON representation
Interpreted interface between the GRASS geographical information system and R
- Host: GitHub
- URL: https://github.com/osgeo/rgrass
- Owner: OSGeo
- Created: 2016-12-15T13:55:01.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-04-04T04:53:11.000Z (about 1 year ago)
- Last Synced: 2025-07-04T14:55:40.143Z (10 months ago)
- Topics: grass-gis, rstats, rstats-package
- Language: R
- Homepage: https://osgeo.github.io/rgrass/
- Size: 4.06 MB
- Stars: 30
- Watchers: 10
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
Awesome Lists containing this project
README
# rgrass
[](https://CRAN.R-project.org/package=rgrass)
[](https://codecov.io/gh/OSGeo/rgrass)
### Interface Between GRASS Geographical Information System and R
Interpreted interface between GRASS geographical information system and R, based on starting R from within the GRASS GIS environment, or running free-standing R in a temporary or existing GRASS location; the package provides facilities for using all GRASS commands from the R command line, see https://osgeo.github.io/rgrass/articles/use.html.
The original interface **GRASS** package for `GRASS 5` (2000-2010) is described in Bivand (2000) (https://doi.org/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-2023).
The **rgrass** package modernizes the interface for `GRASS 8` while still permitting the use of `GRASS 7`.
### Installation
This package depends on [GRASS GIS](https://grass.osgeo.org/) version 8 or above (later version 7 should also be OK).
If you use OSGeo4W on Windows (recommended), remember that you must start RStudio, Rgui or console R from within the OSGeo4W shell.
See the [workshop on **rgrass** at FOSS4G 2022](https://rsbivand.github.io/foss4g_2022/modernizing_220822.html) for a detailed introduction with reproducible examples.
If you would like to contribute, please see the CONTRIBUTING file in the .github folder.
For detailed notes, see https://rsbivand.github.io/foss4g_2022/modernizing_220822.html.