open.ff {ff}R Documentation

Opening an ff file

Description

open.ff opens an ff file, optionally marking it readonly and optionally specifying a caching scheme.

Usage

open.ff(con, readonly = FALSE, pagesize = NULL, caching = NULL, ...)

Arguments

con an ff object
readonly readonly
pagesize number of bytes to use as pagesize or NULL to take the pagesize stored in the physical attribute of the ff object, see getalignedpagesize
caching one of 'mmnoflush' or 'mmeachflush', see ff
... further arguments (not used)

Details

ff objects will be opened automatically when accessing their content and the file is still closed

Value

an opened ff object

Author(s)

Jens Oehlschlägel

See Also

ff, close.ff, delete, deleteIfOpen, getalignedpagesize

Examples

  x <- ff(1:12)
  close(x)
  is.open(x)
  open(x)
  is.open(x)
  close(x)
  is.open(x)
  x[]
  is.open(x)
  y <- x
  close(y)
  is.open(x)

[Package ff version 2.0.0 Index]