Dear R-help,
    I am having trouble reading a UTF-16LE formatted file. The issue appears to 
be a byte order mark at the beginning of the file. I have tried readLines(file, 
encoding='utf-16LE') but that got me 

[1]"\xff\xfe1"  ""      ""      ""      ""      ""


This is a tab delimited text file, despite the ANA extension. It is created by 
a custom software program that interfaces with some specialized scientific 
equipment.

Thank you for your help.


Regards,
Tim




______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to