vroom_altrep: Show which column types are using Altrep

Description Usage Arguments Details Examples

View source: R/vroom.R

Description

vroom_altrep() can be used directly as input to the altrep argument of vroom().

Usage

1

Arguments

which

A character vector of column types to use Altrep for. Can also take TRUE or FALSE to use Altrep for all possible or none of the types

Details

Alternatively there is also a family of environment variables to control use of the Altrep framework. These can then be set in your .Renviron file, e.g. with usethis::edit_r_environ(). For versions of R where the Altrep framework is unavailable (R < 3.5.0) they are automatically turned off and the variables have no effect. The variables can take one of true, false, TRUE, FALSE, 1, or 0.

There are also individual variables for each type. Currently only VROOM_USE_ALTREP_CHR defaults to true.

Examples

1
2
3
4

vroom documentation built on Aug. 27, 2020, 9:07 a.m.