Is there a way in R to join broken lines of csv file?
问题 I have a program that exports a csv file but doesn't quote new lines or use /n instead of /n/r . It uses the same end of line in the middle of records as it does at the end. The program does however use a comma delimiter between variables. How can I tell R to delete all the eol markers until the number of variables in data is reached? My data would look like this: name, rank, serial number, age, height, weight mike, noob, 123456, 22, 6, 34.4 bob, officer, 345 323, 24, 6, 2 3.5 ted, officer,