An XDF file is a data file format in R used to store, process, and analyze a larger dataset. This file uses persistent memory, that is, hard disk storage, instead of RAM. The XDF file allows you to process datasets by chunks and takes less time than the typical R data frame. In this recipe, you will create a new XDF file from a CSV input file. The XDF file is not a primary choice for parallel processing, but it offers better control over your data through persisted storage and further processing.
Creating an XDF file from CSV input
Getting ready
To implement this recipe, you are required to install the RevoScaleR library.
The datasets (the CSV input files) used in this recipe are downloaded from the website of the Bureau of...