ezHead: Writes the head of a file

View source: R/ngsio.R

ezHeadR Documentation

Writes the head of a file

Description

Writes the head of a file into a newly created target file.

Usage

ezHead(target = paste0(x, "_head"), x, n = 1000)

Arguments

target

a character specifying the path of the output.

x

a character specifying the path to a file to read from.

n

an integer specifying the amount of lines to return.

Value

Returns the name of the output file.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

description = system.file("DESCRIPTION", package="ezRun", mustWork=TRUE)
ezHead(x=description)

uzh/ezRun documentation built on Dec. 26, 2024, 9:53 a.m.