file.head {descr}R 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


[Package descr version 1.1.8 Index]