Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

names.ff

Getting and setting names


Description

For ff_vectors you can set names, though this is not recommended for large objects.

Usage

## S3 method for class 'ff'
names(x)
  ## S3 replacement method for class 'ff'
names(x) <- value
  ## S3 method for class 'ff_array'
names(x)
  ## S3 replacement method for class 'ff_array'
names(x) <- value

Arguments

x

a ff vector

value

a character vector

Details

If vw is set, names.ff returns the appropriate part of the names, but you can't set names while vw is set. names.ff\_array returns NULL and setting names for ff_arrays is not allowed, but setting dimnames is.

Value

names returns a character vector (or NULL)

Author(s)

Jens Oehlschlägel

See Also

Examples

x <- ff(1:26, names=letters)
  names(x)
  names(x) <- LETTERS
  names(x)
  names(x) <- NULL
  names(x)
  rm(x); gc()

ff

Memory-Efficient Storage of Large Data on Disk and Fast Access Functions

v4.0.4
GPL-2 | GPL-3 | file LICENSE
Authors
Daniel Adler [aut], Christian Gläser [aut], Oleg Nenadic [aut], Jens Oehlschlägel [aut, cre], Martijn Schuemie [aut], Walter Zucchini [aut]
Initial release
2020-10-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.