Page 1 of 1

READING data

Posted: Tue Sep 07, 2010 1:01 am
by bizi_rats_10
Hi All,

I can not read in my data. I think the problem reside in the fact that the data have decimals. RATS shows an error saying: ##IO10. Unexpected end of file while processing line 84. (series PKID entry 83). Can anyone help me figure out this? The data I am using are attached to this message.

Thanks
JC

Re: READING data

Posted: Tue Sep 07, 2010 9:26 am
by TomDoan
That's actually a Unicode (UTF-16) file rather than being an ASCII file; UTF-16 which won't work correctly in RATS. I've attached an ASCII version of that. If you ran that your Word or some other word processor, you have to be careful about selecting the Save format.
Dataascii.txt
(3.09 KiB) Downloaded 1090 times

Re: READING data

Posted: Tue Sep 07, 2010 2:25 pm
by bizi_rats_10
Thanks very much! It worked perfectly. How do I get the ASCII files? The saving options on my computer show the following: ANSI, Unicode, Unicode big endian, UTF-8. I normally save data with the unicode option.

Regards,
JC

Re: READING data

Posted: Tue Sep 07, 2010 4:43 pm
by TomDoan
UTF-8 would definitely work. ANSI will work on most operating systems, but can get re-defined.

Re: READING data

Posted: Tue Sep 07, 2010 5:01 pm
by bizi_rats_10
Thanks very, I appreciate your help.
JC