inst/bench/all_numeric-wide/input.R

args <- commandArgs(trailingOnly = TRUE)
rows <- as.integer(args[[1]])
cols <- as.integer(args[[2]])
output <- args[[3]]

set.seed(42)
RNGversion("3.5.3")

data <- vroom::gen_tbl(rows, cols, col_types = strrep("d", cols))

vroom::vroom_write(data, output, "\t")

Try the vroom package in your browser

Any scripts or data that you put into this service are public.

vroom documentation built on Oct. 2, 2023, 5:07 p.m.