Description Usage Arguments Details Value See Also Examples
Rename columns in an Xdf file
1 2 3 4 5 |
.data |
A data source. |
... |
Key-value pairs of unquoted variables to rename, in new = old format. |
.outFile |
Output format for the returned data. If not supplied, create an xdf tbl; if |
.rxArgs |
A list of RevoScaleR arguments. See |
Renaming is generally a very fast operation, as only the metadata in the Xdf file header is changed. The exception is when the dataset needs to be copied, either to preserve dplyrXdf's semantics of never modifying the source data for a pipeline, or if the the desired output format is a data frame or persistent Xdf file. If a copy is made, rxDataStep
is used and will accept arguments supplied in .rxArgs
.
An object representing the transformed data. This depends on the .outFile
argument: if missing, it will be an xdf tbl object; if NULL
, a data frame; and if a filename, an Xdf data source referencing a file saved to that location.
rename
in package dplyr
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.