READING data

For questions and discussion related to reading in and working with data.

READING data

Postby bizi_rats_10 » Tue Sep 07, 2010 1:01 am

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

Re: READING data

Postby TomDoan » Tue Sep 07, 2010 9:26 am

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 148 times
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: READING data

Postby bizi_rats_10 » Tue Sep 07, 2010 2:25 pm

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

Re: READING data

Postby TomDoan » Tue Sep 07, 2010 4:43 pm

UTF-8 would definitely work. ANSI will work on most operating systems, but can get re-defined.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: READING data

Postby bizi_rats_10 » Tue Sep 07, 2010 5:01 pm

Thanks very, I appreciate your help.
JC
bizi_rats_10
 
Posts: 10
Joined: Sun Jul 18, 2010 3:47 pm


Return to Data: Reading, Writing, Transforming

Who is online

Users browsing this forum: No registered users and 0 guests