read_log(file, col_names = FALSE, col_types = NULL, skip = 0,
n_max = -1, progress = interactive())
Files ending in .gz
, .bz2
, .xz
, or .zip
will
be automatically uncompressed. Files starting with
TRUE
, FALSE
or a character vector
of column names. If TRUE
, the first row of the input will be used as the column
names, and will not be included in the data frame. If FALSE
, column
names
NULL
, a list, a named list or a string. If NULL
, the column type will be imputed from the first 30 rows
on the input. This is convenient (and fast), but not robust. If the
imputation fails, you'll need to supply the
read_log(system.file("extdata/example.log", package = "readr"))
Run the code above in your browser using DataLab