Hi, Thanks for you insight. the problem that I have is that the program reports back an error:
Error in FUN(X[[1L]], ...) : STRING_ELT() can only be applied to a 'character vector', not a 'integer When I try to read in a multi-row frame, and so I can only feed in one row at a time. The data is then output thus: [[1]] [1] FREDBLOGGS [2] 250 The best that I can understand, I need to split my multi-row dataframe into single rows, and then record the output into single rows in a new results dataframe, and rbind to add the next output to the results dataframe. If anybody can understand the error message, then that would be useful too..! Thanks. -- View this message in context: http://r.789695.n4.nabble.com/Reading-in-and-writing-out-one-line-at-a-time-tp2223726p2226808.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.