Getting and setting names
names.ff.rdFor ff_vectors you can set names, though this is not recommended for large objects.
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.
Examples
x <- ff(1:26, names=letters)
names(x)
#> [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s"
#> [20] "t" "u" "v" "w" "x" "y" "z"
names(x) <- LETTERS
names(x)
#> [1] "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S"
#> [20] "T" "U" "V" "W" "X" "Y" "Z"
names(x) <- NULL
names(x)
#> NULL
rm(x); gc()
#> used (Mb) gc trigger (Mb) max used (Mb)
#> Ncells 1251856 66.9 2239654 119.7 2239654 119.7
#> Vcells 2305418 17.6 8388608 64.0 8387257 64.0