READING data

For questions and discussion related to reading in and working with data.
bizi_rats_10
Posts: 10
Joined: Sun Jul 18, 2010 3:47 pm

READING data

Unread post 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
Attachments
Data.txt
(6.19 KiB) Downloaded 1038 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: READING data

Unread post 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
bizi_rats_10
Posts: 10
Joined: Sun Jul 18, 2010 3:47 pm

Re: READING data

Unread post 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
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: READING data

Unread post by TomDoan »

UTF-8 would definitely work. ANSI will work on most operating systems, but can get re-defined.
bizi_rats_10
Posts: 10
Joined: Sun Jul 18, 2010 3:47 pm

Re: READING data

Unread post by bizi_rats_10 »

Thanks very, I appreciate your help.
JC
Post Reply