file.head: Prints first lines of a file.

View source: R/file.head.R

file.headR Documentation

Prints first lines of a file.

Description

The function prints the first lines of a file, optionally truncating the lines according to the screen width. The lines are truncated at getOption("width") - 2.

Usage

file.head(file, n, truncate.cols = TRUE)

Arguments

file

Character: The name of the file whose first lines should be printed.

n

The number of lines to show.

truncate.cols

Logical: if TRUE truncate the lines.

Value

NULL.

Author(s)

Jakson A. Aquino jalvesaq@gmail.com


descr documentation built on Nov. 28, 2023, 1:10 a.m.