Learn R Programming

terra (version 0.9-11)

gdal: gdal utilities

Description

Get the GDAL version or set the GDAL warning level.

Usage

gdal_version()

gdal_warnings(level)

Arguments

level

integer between 1 and 4 representing the level of GDAL warnings and errors that are passed to R. 1 = warnings and errors; 2 = errors only (recoverable errors as a warning); 3 = irrecoverable errors only; 4 = ignore all errors and warnings. The default setting is 3

Value

character (gdal_version)

Examples

Run this code
# NOT RUN {
gdal_version()
# }

Run the code above in your browser using DataLab