dimnames.ffdf {ff} | R Documentation |
Getting and setting dimnames of ffdf
Description
Getting and setting dimnames, columnnames or rownames
Usage
## S3 method for class 'ffdf'
dimnames(x)
## S3 replacement method for class 'ffdf'
dimnames(x) <- value
## S3 method for class 'ffdf'
names(x)
## S3 replacement method for class 'ffdf'
names(x) <- value
## S3 method for class 'ffdf'
row.names(x)
## S3 replacement method for class 'ffdf'
row.names(x) <- value
Arguments
x |
a |
value |
a character vector, or, for dimnames a list with two character vectors |
Details
It is recommended not to assign row.names to a large ffdf object.
Value
The assignment function return the changed ffdf object. The other functions return the expected.
Author(s)
Jens Oehlschlägel
See Also
ffdf
, dimnames.ff
, rownames
, colnames
Examples
ffd <- as.ffdf(data.frame(a=1:26, b=letters, stringsAsFactors = TRUE))
dimnames(ffd)
row.names(ffd) <- letters
dimnames(ffd)
ffd
rm(ffd); gc()
[Package ff version 4.0.12 Index]