I have been struggling and I can't found out what I'm doing wrong.
I have to import a csv file into R Studio because I need to perform a market basket analysis. I have been running the following code:
myData <- read.transactions("C:/Transaction.csv", format = "basket" , sep = ",")
Then I get the following error: There were 50 or more warnings
I used warnings()
1: In readLines(file, encoding = encoding) :
incomplete final line found on 'C:/Transaction.csv'
2: In scan(text = l, what = "character", sep = sep, quote = quote, ... :
EOF within quoted string
Anyone know how to solve this?