Rsagacmd: Linking R with the Open-Source 'SAGA-GIS' Software

Provides an R scripting interface to the open-source 'SAGA-GIS' (System for Automated Geoscientific Analyses Geographical Information System) software. 'Rsagacmd' dynamically generates R functions for every 'SAGA-GIS' geoprocessing tool based on the user's currently installed 'SAGA-GIS' version. These functions are contained within an S3 object and are accessed as a named list of libraries and tools. This structure facilitates an easier scripting experience by organizing the large number of 'SAGA-GIS' geoprocessing tools (>700) by their respective library. Interactive scripting can fully take advantage of code autocompletion tools (e.g. in 'RStudio'), allowing for each tools syntax to be quickly recognized. Furthermore, the most common types of spatial data (via the 'terra', 'sp', and 'sf' packages) along with non-spatial data are automatically passed from R to the 'SAGA-GIS' command line tool for geoprocessing operations, and the results are loaded as the appropriate R object. Outputs from individual 'SAGA-GIS' tools can also be chained using pipes from the 'magrittr' and 'dplyr' packages to combine complex geoprocessing operations together in a single statement. 'SAGA-GIS' is available under a GPLv2 / LGPLv2 licence from <https://sourceforge.net/projects/saga-gis/> including Windows x86/x64 and macOS binaries. SAGA-GIS is also included in Debian/Ubuntu default software repositories. Rsagacmd has currently been tested on 'SAGA-GIS' versions from 2.3.1 to 9.5.1 on Windows, Linux and macOS.

Version: 0.4.3
Depends: R (≥ 2.10)
Imports: generics, sf, terra (≥ 1.7.0), stars, tools, utils, foreign, stringr, rlang, tibble, processx, rvest
Suggests: dplyr, testthat (≥ 3.0.0), covr
Published: 2024-09-08
DOI: 10.32614/CRAN.package.Rsagacmd
Author: Steven Pawley [aut, cre]
Maintainer: Steven Pawley <dr.stevenpawley at gmail.com>
BugReports: https://github.com/stevenpawley/Rsagacmd/issues
License: GPL-3
URL: https://stevenpawley.github.io/Rsagacmd/
NeedsCompilation: no
SystemRequirements: SAGA-GIS (>= 2.3.1)
Materials: README
In views: Spatial
CRAN checks: Rsagacmd results

Documentation:

Reference manual: Rsagacmd.pdf

Downloads:

Package source: Rsagacmd_0.4.3.tar.gz
Windows binaries: r-devel: Rsagacmd_0.4.3.zip, r-release: Rsagacmd_0.4.3.zip, r-oldrel: Rsagacmd_0.4.3.zip
macOS binaries: r-release (arm64): Rsagacmd_0.4.3.tgz, r-oldrel (arm64): Rsagacmd_0.4.3.tgz, r-release (x86_64): Rsagacmd_0.4.3.tgz, r-oldrel (x86_64): Rsagacmd_0.4.3.tgz
Old sources: Rsagacmd archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Rsagacmd to link to this page.