qgis_tmp_file {qgisprocess} | R Documentation |
Manage temporary files
Description
These functions create temporary files that can be used
in calls to qgis_run_algorithm()
or elsewhere. These
files are created in a special temporary directory
(qgis_tmp_base()
) that should be periodically cleaned up
using qgis_clean_tmp()
. You can set your preferred
vector and/or raster file extension using
options(qgisprocess.tmp_vector_ext = "...")
and/or
options(qgisprocess.tmp_raster_ext = "...")
, respectively.
Usage
qgis_tmp_file(ext)
qgis_tmp_folder()
qgis_tmp_vector(ext = getOption("qgisprocess.tmp_vector_ext", ".gpkg"))
qgis_tmp_raster(ext = getOption("qgisprocess.tmp_raster_ext", ".tif"))
qgis_tmp_base()
qgis_clean_tmp()
Arguments
ext |
The file extension to be used. |
Value
A character vector indicating the location of a (not yet created) temporary file.
See Also
Other topics about programming or debugging utilities:
qgis_result_status()
,
qgis_run()
,
qgis_unconfigure()
,
qgis_using_json_input()
Examples
qgis_tmp_base()
qgis_tmp_file(".csv")
qgis_tmp_vector()
qgis_tmp_raster()
[Package qgisprocess version 0.4.0 Index]