filename: Filename

View source: R/properties.R

filenameR Documentation

Filename

Description

Get the filename of a Raster* object. You cannot set the filename of an object (except for RasterStack objects); but you can provide a 'filename= ' argument to a function that creates a new RasterLayer or RasterBrick* object.

Usage

filename(x)

Arguments

x

A Raster* object

Value

a Raster* object

Examples

 
r <- raster( system.file("external/test.grd", package="raster") )
filename(r)

rspatial/raster documentation built on Oct. 12, 2024, 10:49 a.m.