Perhaps R's function readLines is the right thing for you. AFAIK it returns a vector of strings containing the lines of th email. Or you could try to count the occurence of the newline character '\r' (Unicode 0xA)
Regards! ______________________________________________ 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.