Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

ARUtools (version 0.7.2)

check_file: Explore a file

Description

Shows the first few lines in a text file. Useful for trying to understand problems in GPS files.

Usage

check_file(file_name, n_max = 10, ...)

Value

A character vector with one element for each line

Arguments

file_name

Character. File path to check.

n_max

Numeric. Number of lines in the file to show. Default 10.

...

Arguments passed on to readr::read_lines()

Details

Wrapper around readr::read_lines(n_max).

Examples

Run this code
f <- system.file("extdata", "logfile_00015141_SD1.txt", package = "ARUtools")
check_file(f)

Run the code above in your browser using DataLab