Displaying 1 result from an estimated 1 matches for "_table_extract_".
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