as.ffdf | R Documentation |
Functions for coercing to ffdf and data.frame
as.ffdf(x, ...)
## S3 method for class 'ff_vector'
as.ffdf(x, ...)
## S3 method for class 'ff_matrix'
as.ffdf(x, ...)
## S3 method for class 'data.frame'
as.ffdf(x, vmode=NULL, col_args = list(), ...)
## S3 method for class 'ffdf'
as.data.frame(x, ...)
x |
the object to be coerced |
vmode |
optional specification of the |
col_args |
further arguments; passed to |
... |
further arguments; passed to |
'as.ffdf' returns an object of class ffdf
, 'as.data.frame' returns an object of class data.frame
Jens Oehlschlägel
is.ffdf
, ffdf
, data.frame
d <- data.frame(x=1:26, y=letters, z=Sys.time()+1:26, stringsAsFactors = TRUE)
ffd <- as.ffdf(d)
stopifnot(identical(d, as.data.frame(ffd)))
rm(ffd); gc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.