[datatable-help] fread on thorn delimitted file

tjonesd289 t.jonesd289 at gmail.com
Sun Apr 19 09:47:44 CEST 2015


Hello,

I have server logs with thorn ( þ , or '\xc3\xbe' ) delimited files. They
are quite large and I would prefer to open them with fread (I would like to
use data.table to look at the data). However, fread says it does not support
2 byte delimiters. I can delimit with just '\xc3' [ a = fread(MY_FILE,
sep='\xc3') ] , but all values in every column at the first ends up with the
'\xbe' attached (i.e. the second byte of the thorn character).

Is there any work around to this? I have yet to find a way to open these
files with R, though the is a stackoverflow answer saying it is possible.

Thanks!




--
View this message in context: http://r.789695.n4.nabble.com/fread-on-thorn-delimitted-file-tp4706068.html
Sent from the datatable-help mailing list archive at Nabble.com.


More information about the datatable-help mailing list