readLine: readLine, and split on character

Description Usage Arguments Value Author(s)

Description

read a single line from a file, or connection, and then split the result on a separator. eg tab, comma, or spaces

Usage

1
readLine(file, split = " +", ok = FALSE)

Arguments

file

a file, or open connection

split

the character to split on. eg tab, comma, or default=spaces

ok

unused

Value

a character vector of length >= 0

Author(s)

Mark Cowley


drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.