How to identify what is used as EOL in a given file?

1 message Options
Embed this post
Permalink
Johannes

How to identify what is used as EOL in a given file?

Reply Threaded More More options
Print post
Permalink
Hi,

Is there any R-generic, OS-agnostic way to figure out what end-of-line
character is being used in a file to be processed by "readLines"?

Thanks, Joh

______________________________________________
[hidden email] 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.