Learn R Programming

qs2 (version 0.1.5)

qx_dump: qx_dump

Description

Exports the uncompressed binary serialization to a list of raw vectors for both qs2 and qdata formats. For testing and exploratory purposes mainly.

Usage

qx_dump(file)

Value

A list containing uncompressed binary serialization and metadata.

Arguments

file

A file name/path.

Examples

Run this code
x <- data.frame(int = sample(1e3, replace=TRUE),
         num = rnorm(1e3),
         char = sample(state.name, 1e3, replace=TRUE),
         stringsAsFactors = FALSE)
myfile <- tempfile()
qs_save(x, myfile)
binary_data <- qx_dump(myfile)

Run the code above in your browser using DataLab