Dear Gretl users,
sorry for bothering you. I found it out myself; I guess it is an issue
of portability between operation systems (in particular Linux to
windows) and with file encoding/line endings of text files.
Here in particular, it was the file ending of the csv-files that caused
the problem. I now generate the CSV file so that it has the windows file
ending (encoding is now ASCII/CRLF), see attached file.
Now the error disappeared and everything works fine, also under windows.
Thank you and Best,
Dominik
On 12/23/2013 06:59 PM, Dominik Menno wrote:
Hi sven,
thanks for your efforts. Sorry for not putting the Gretl version. It is
gretl-1.9.14-64
A bit more background knowledge: I became aware of this issue only when
I gave Gretl assignments to my students. I generated CSV-files like the
one I posted earlier with R and I suppose the encoding is UTF8. Some of
my students then had other results than I had with R or Gretl. Then I
figured out with one studente that the CSV file was not imported
correctly as I described earlier (I dont know which windows version he
had). I went to my virtual machine with Windows 7 64 Bit and Gretl
1.9.14-64 and I could replicate the problem. I suppose my students have
the same gretl version because I told them to download the latest release.
Could it be possible that the source of the problem is the encoding? If
so, which encoding do you recommend such that there is no issue on any
platform (in particular both Mac and Windows?)
I have over 150 students and it would be very important for me to
resolve this issue.
Many thanks in advance,
Dominik
On 12/21/2013 03:07 PM, Sven Schreiber wrote:
>
>
> Am 21.12.2013 13:55, schrieb Dominik Menno:
>> Dear Gretl users,
>>
>> when importing the attached csv file on windows 7 64bit (German
>> localization) into gretl, it says that the first element in variable 1
>> (female) is empty. But it is not. See also below the Gretl console output.
>>
>
> Cannot reproduce this on 32-bit Windows / German. Which gretl version?
>
> cheers,
> sven
>
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
>
http://lists.wfu.edu/mailman/listinfo/gretl-users
>
--
Dominik Menno
RWTH Aachen University
Templergraben 64
52064 Aachen
Tel: +49 (0)241/80 96 286
Fax: +49 (0)241/80 92 337
dominik.menno(a)rwth-aachen.de