Filenames | R Documentation |
Raster*
objectThis is mostly just a wrapper around filename
from the raster
package, except that
instead of returning an empty string for a RasterStack
object, it will return a vector of
length >1 for RasterStack
.
Filenames(obj, allowMultiple = TRUE, returnList = FALSE)
## S4 method for signature 'ANY'
Filenames(obj, allowMultiple = TRUE, returnList = FALSE)
## S4 method for signature 'environment'
Filenames(obj, allowMultiple = TRUE, returnList = FALSE)
## S4 method for signature 'list'
Filenames(obj, allowMultiple = TRUE, returnList = FALSE)
## S4 method for signature 'data.table'
Filenames(obj, allowMultiple = TRUE, returnList = FALSE)
## S4 method for signature 'Path'
Filenames(obj, allowMultiple = TRUE, returnList = FALSE)
obj |
A |
allowMultiple |
Logical. If |
returnList |
Default |
New methods can be made for this generic.
A character vector of filenames that are part of the objects passed to obj
.
This returns NULL
is the object is not file-backed or does not have a method
to recover the file-backed filename.
Eliot McIntire
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.