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.


adamlilith/fasterRaster documentation built on Dec. 21, 2024, 2:04 a.m.