Learn R Programming

ursa (version 3.11.1)

close: 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 ursaRaster
close(...)

close_envi(...)

Value

NULL

Arguments

...

Object or sequence of objects of class ursaRaster.

Author

Nikita Platonov platonov@sevin.ru

See Also

close of base package

Examples

Run this code
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))

Run the code above in your browser using DataLab