classRaster_close: Close connections for files with data

closeR Documentation

Close connections for files with data

Description

close() for ursaRaster object closes connection for opened file using inheritted function base::close. Function close_envi() closes opened connection for ENVI binary file.

Usage

## S3 method for class 'ursaRaster'
close(...)

close_envi(...)

Arguments

...

Object or sequence of objects of class ursaRaster.

Value

NULL

Author(s)

Nikita Platonov platonov@sevin.ru

See Also

close of base package

Examples

session_grid(NULL)
a <- create_envi()
fname <- a$con$fname
message(paste("Created file",dQuote(basename(fname)),"will be deleted."))
print(dir(pattern=basename(envi_list(fname))))
close(a)
invisible(envi_remove(fname))

nplatonov/ursa documentation built on May 8, 2024, 6:02 p.m.