file_glimpse: Glimpse first and last n/2 lines of a file

View source: R/text-file.R

file_glimpseR Documentation

Glimpse first and last n/2 lines of a file

Description

And print the lines (using cat)

Usage

file_glimpse(file_path, n = 14)

Arguments

file_path

file path (character)

n

number of lines (integer)

Value

a character vector (length n; if one_string = TRUE, length 1)


edalfon/efun documentation built on June 23, 2024, 4:17 a.m.