I have file with multiple lines, each one representing a document for my scenario. I searched how to create a corpus from it and found about R tm package function readPlain
but that will load the whole text file as one document. I also found the way to load documents at R text file and text mining...how to load data but that specified the method which takes a folder path, and for each of the file in it, it creates a document.
How can I form different documents for each of the sentences.