Description Usage Arguments Details Examples
This wraps a 'normal' ffdf object so it can be used with dplyr. It also allows for storing ffdf object in directories/src or retrieving a specific ffdf from a source.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | tbl_ffdf(data, src = getOption("fftempdir"),
name = deparse(substitute(data)), ...)
## S3 method for class 'ffdf'
as.tbl(x, ...)
## S3 method for class 'tbl_ffdf'
tbl_vars(x)
## S3 method for class 'ffdf'
tbl_vars(x)
## S3 method for class 'tbl_ffdf'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
## S3 method for class 'tbl_ffdf'
print(x, ..., n = NULL)
## S3 method for class 'tbl_ffdf'
head(x, n = 6L, ...)
## S3 method for class 'tbl_ffdf'
tail(x, n = 6L, ...)
|
data |
a ffdf data.frame, will be converted to ffdf using as.ffdf |
src |
(optional), if a directory name is specified then the ffdf will be saved there |
name |
table to be loaded |
... |
not used |
x |
any R object. |
row.names |
|
optional |
logical. If |
n |
restrict number of rows to n |
When data
and src
are specified a copy_to
will be executed.
When src
and from
are specified an ffdf
will be loaded
from disk.
When data
is specified without src
a temporary ffdf will be created
in fftempdir
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.