Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

saga_show_tmpfiles

List temporary files created by Rsagacmd


Description

For convenience, functions in the Rsagacmd package create temporary files if any outputs for a SAGA-GIS tool are not specified as arguments. Temporary files in R are automatically removed at the end of each session. However, when dealing with raster data, these temporary files potentially can consume large amounts of disk space. These temporary files can be observed during a session by using the saga_show_tmpfiles function, and can be removed using the saga_remove_tmpfiles function.

Usage

saga_show_tmpfiles()

Value

returns the file names of the files in the temp directory that have been generated by Rsagacmd. Note this list of files only includes the primary file extension, i.e. '.shp' for a shapefile without the accessory files (e.g. .prj, .shx etc.).

Examples

## Not run: 
# Show all temporary files generated by Rsagacmd
saga_remove_tmpfiles(h = 0)

## End(Not run)

Rsagacmd

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

v0.1.0
GPL-3
Authors
Steven Pawley [aut, cre]
Initial release
2021-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.