Configuration with options or environment variables

Floris Vanderhaeghe

Last update: 2024-06-28
Last run: 2024-07-06

Options and environment variables are available to manage {qgisprocess} behaviour. Several options have a corresponding environment variable. When both have a value, the option will be given priority.

Options are typically harder to isolate from the R code that you collaborate on. Consequently, it is advised to:

Overview

Below table lists the available options and environment variables.

Option Environment variable Type
qgisprocess.path R_QGISPROCESS_PATH string (filepath)
qgisprocess.tmp_vector_ext not available string (file extension)
qgisprocess.tmp_raster_ext not available string (file extension)
qgisprocess.detect_newer_qgis R_QGISPROCESS_DETECT_NEWER_QGIS logical
qgisprocess.use_json_input R_QGISPROCESS_USE_JSON_INPUT logical
qgisprocess.use_json_output R_QGISPROCESS_USE_JSON_OUTPUT logical
qgisprocess.cachefiles_days_keep R_QGISPROCESS_CACHEFILES_DAYS_KEEP numeric
qgisprocess.use_cached_help R_QGISPROCESS_USE_CACHED_HELP logical
qgisprocess.env not available named list

Descriptions

Following descriptions are applicable to both option and environment variable: