close.ff | R Documentation |
Close frees the Memory Mapping resources and closes the ff file without deleting the file data.
## S3 method for class 'ff'
close(con, ...)
## S3 method for class 'ffdf'
close(con, ...)
## S3 method for class 'ff_pointer'
close(con, ...)
con |
an open ff object |
... |
|
The ff_pointer
method is not intended for manual use, it is used at finalizer dispatch time.
Closing ffdf objects will close all of their physical
components including their row.names
if they are is.ff
TRUE if the file could be closed, FALSE if it was closed already (or NA if not all components of an ffdf returned FALSE or TRUE on closing)
Jens Oehlschlägel
ff
, open.ff
, delete
, deleteIfOpen
x <- ff(1:12)
close(x)
x
open(x)
x
rm(x); gc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.