Description Usage Arguments Details Value See Also Examples
Copy an xdf tbl to a permanent storage location.
1 2 3 4 5 6 7 8 |
.data |
An xdf tbl |
... |
Other arguments to |
file |
Character string giving the name of the output xdf file |
composite |
Create a composite Xdf or normal? The default is to create the same type of file as the input. |
move |
Should the tbl file be moved or copied? |
overwrite |
If the outfile already exists, should it be overwritten? |
By default, the underlying data for an xdf tbl is saved as a file in the R temporary directory, and is managed by dplyrXdf. This can cause confusion and errors when a tbl is reused by later dplyrXdf operations, which can overwrite or delete the data.
The persist
verb is a simple routine that either copies or moves the data into a new Xdf file at the location given by outFile
. This ensures that the data will not be modified by dplyrXdf, and will be persistent beyond the end of the R session.
Calling this verb on a non-tbl data source (eg a raw RxXdfData
object) will give a warning and return the data source unchanged.
An RxXdfData
object pointing to the new xdf file.
as_xdf
, as.data.frame.RxXdfData
, rxDataStep
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.