Learn R Programming

rafalib (version 1.0.0)

peek: peek at the top of a text file

Description

this returns a character vector which shows the top n lines of a file

Usage

peek(x, n = 2)

Arguments

x
a filename
n
the number of lines to return