Read common/combined log file into a tibble
This is a fairly standard format for log files - it uses both quotes and square brackets for quoting, and there may be literal quotes embedded in a quoted string. The dash, "-", is used for missing values.
read_log( file, col_names = FALSE, col_types = NULL, skip = 0, n_max = Inf, progress = show_progress() )
file |
Either a path to a file, a connection, or literal data (either a single string or a raw vector). Files ending in Literal data is most useful for examples and tests. It must contain at least one new line to be recognised as data (instead of a path) or be a vector of greater than length 1. Using a value of |
col_names |
Either If If Missing ( |
col_types |
One of If If a column specification created by Alternatively, you can use a compact string representation where each character represents one column:
|
skip |
Number of lines to skip before reading data. |
n_max |
Maximum number of records to read. |
progress |
Display a progress bar? By default it will only display
in an interactive session and not while knitting a document. The display
is updated every 50,000 values and will only display if estimated reading
time is 5 seconds or more. The automatic progress bar can be disabled by
setting option |
read_log(readr_example("example.log"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.