search for: l012

Displaying 1 result from an estimated 1 matches for "l012".

Did you mean: 2012
2010 Jun 04
1
Reading newlines with read.table?
I have a text file that is UTF-16LE encoded with CRLF line endings and '@' as field separators that I want to read in R on a Linux system. Which would be fine as read.table("foo.txt", file.encoding = "UTF-16LE", sep = "@", ...) *except* that the data may contain the LF character which R treats as end-of-line and then barfs that there are too few elements