checkLines: Read specific lines from a file

checkLinesR Documentation

Read specific lines from a file

Description

Creates a text connection for specific lines of a file and returns them as an output of fun. Modified from http://stackoverflow.com/questions/18235269/efficiently-reading-specific-lines-from-large-files-into-r

Usage

checkLines(file, lines, fun = readLines, ...)

Arguments

file

the name of the file which lines will be read from

fun

function that will process each line

Value

A list containing the outputs per line


oganm/ogbox documentation built on Feb. 18, 2024, 12:37 a.m.