getFileAsText: read a file as text, converting if necessary

Description Usage Arguments Details Value Note Author(s)

View source: R/getFileAsText.R

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/motusServer documentation built on May 19, 2019, 8:19 a.m.