Getting and setting dimnames of ffdf
Getting and setting dimnames, columnnames or rownames
## 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
x |
a |
value |
a character vector, or, for dimnames a list with two character vectors |
It is recommended not to assign row.names to a large ffdf object.
The assignment function return the changed ffdf object. The other functions return the expected.
Jens Oehlschlägel
ffd <- as.ffdf(data.frame(a=1:26, b=letters, stringsAsFactors = TRUE)) dimnames(ffd) row.names(ffd) <- letters dimnames(ffd) ffd rm(ffd); gc()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.