close.ff {ff}R Documentation

Closing ff files

Description

Close frees the Memory Mapping resources and closes the ff file without deleting the file data.

Usage

## S3 method for class 'ff':
close(con, ...)
## S3 method for class 'ff_pointer':
close(con, ...)

Arguments

con an open ff object
... ...

Details

The ff_pointer method is not intended for manual use, it is used at finalizer dispatch time.

Value

TRUE if the file could be closed, FALSE if if was closed already

Author(s)

Jens Oehlschlägel

See Also

ff, open.ff, delete, deleteIfOpen

Examples

  x <- ff(1:12)
  close(x)
  x
  open(x)
  x

[Package ff version 2.0.0 Index]