I am using the read.delim function but since the text lines I am reading also contains comments where users have used commas (","), the comments get divided into two or more columns.
Below are two lines from the data set:
@Zillaman u just aite all types of food at Zina crib and didnt even think about me!!!!,0
I must have been only 11 when Mr Peepers started. It was a must see for the whole family, I believe on Sun...,1
The first line gets read properly. The "0" is read in the next column. The second line gets broken into three columns, with the last column containing the "1"
dataset_original = read.delim('TrainingData.csv',
quote = "",
row.names = NULL,
stringsAsFactors = FALSE,
header = F, as.is = F,
colClasses = "character",
blank.lines.skip = T,
sep = ",")