qs (version 0.12)

qs_use_alt_rep: Use alt-rep

Description

Changes whether qread uses the alt-rep system. If you experience issues or run out of memory, set to FALSE.

Usage

qs_use_alt_rep(s)

Arguments

s

A boolean to determine whether `qread` uses alt-rep. Default: TRUE.

Examples

Run this code
# NOT RUN {
myfile <- tempfile()
qs_use_alt_rep(FALSE)
x <- randomStrings(1e3)
qsave(x, myfile)
x2 <- qread(myfile) # qs will no longer use alt-rep strings to load in character vector data
identical(x, x2) # returns true
# }

Run the code above in your browser using DataLab