Learn R Programming

ANLP (version 1.3)

readTextFile: Read text files in binary mode

Description

This function reads text files in the binary mode

Usage

readTextFile(fileName, encoding)

Arguments

fileName
A path to the text file
encoding
Read text data with encoding

Value

a list having all the text data from file

Examples

Run this code
## Not run: sampleTextData("data/twitter.txt","UTF-8")

Run the code above in your browser using DataLab