filename: Filename

Description Usage Arguments Value Examples

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

1

Arguments

x

A Raster* object

Value

a Raster* object

Examples

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


Search within the raster package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.