getFileAsText: read a file as text, converting if necessary

Description Usage Arguments Details Value Note Author(s)

Description

read a file as text, converting if necessary

Usage

1

Arguments

f

full path to file.

Details

The type of the file is determined using the linux file utility. These type conversions are known:

Value

a vector of lines in the file, after converting to text format

Note

If the file f is empty, this returns a vector of length 0.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.