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))

ursa documentation built on March 18, 2022, 6:23 p.m.