For ff_vector
s you can set names, though this is not recommended for large objects.
# S3 method for ff
names(x)
# S3 method for ff
names(x) <- value
# S3 method for ff_array
names(x)
# S3 method for ff_array
names(x) <- value
names
returns a character vector (or NULL)
a ff vector
a character vector
Jens Oehlschlägel
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_array
s is not allowed,
but setting dimnames
is.
names
, dimnames.ff_array
, vw
, virtual
x <- ff(1:26, names=letters)
names(x)
names(x) <- LETTERS
names(x)
names(x) <- NULL
names(x)
rm(x); gc()
Run the code above in your browser using DataLab