exists: Does the "GRASS" representation of a GRaster or GVector...

.exists,GRaster-methodR Documentation

Does the "GRASS" representation of a GRaster or GVector exist?

Description

GRasters and GVectors are R objects that contain a pointer to a raster or vector in GRASS. Thus, for a GRaster or GVector to be functional, the GRASS file must exist. This function indicates if that is so.

Usage

## S4 method for signature 'GRaster'
.exists(x)

## S4 method for signature 'GVector'
.exists(x)

## S4 method for signature 'character'
.exists(x)

Arguments

x

A GRaster, GVector, or the sources() name of one.

Value

Logical.


fasterRaster documentation built on April 3, 2025, 10:44 p.m.