R: sf_readLines

sf_readLines {stringfish} | R Documentation

## sf_readLines

### Description

A function that reads a file line by line

### Usage

    sf_readLines(file, encoding = "UTF-8")

### Arguments

`file` | The file name
`encoding` | The encoding to use (Default: UTF-8)

### Details

A function for reading in text data using 'std::ifstream'.

### Value

A stringfish vector of the lines in a file

### See Also

readLines

### Examples

    file <- tempfile()
    writeLines(letters, file)
    sf_readLines(file)

[Package stringfish version 0.12.1 Index]