<br><br><div><span class="gmail_quote">2007/2/1, Thomas Friedrichsmeier <<a href="mailto:thomas.friedrichsmeier@ruhr-uni-bochum.de">thomas.friedrichsmeier@ruhr-uni-bochum.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday 01 February 2007 18:28, you wrote:<br>> I have tested the mechanism with a greek sample file. If the headers are<br>> not greek (1.sav) the file is imported. If the headers are greek I take the<br>> following error message:
<br>><br>>  Error in read.spss("/home/user/Desktop/12.sav", to.data.frame = TRUE,  :<br>>     error reading system-file header<br>> In addition: Warning message:<br>> /home/user/Desktop/12.sav: position 0: Variable name begins with invalid
<br>> character<br><br>This is deep inside the read.spss() C code. I'm afraid, there is nothing we<br>can do about this from the RKWard side of affairs (the conversion mechanism I<br>added simply converts all strings in the created R object, it can't access
<br>the lower levels of reading the file itself).<br><br>> I upload the 1.sav (with latin headers) and (with greek headers). To the<br>> enconding field you have to write windows-1253 or MS-GREEK.<br>><br>> Can you reproduce this writing specific german letters on headers like ü?
<br><br>I don't have access to SPSS at the moment (and won't for another few weeks).<br>So I can't test. What do you mean by headers? The variable names? Variable<br>labels? Something SPSS specific that I do not recall?
</blockquote><div><br>Yes the variable labels is what I mean. <br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">@Stefan, do you have access to SPSS? Could you give it a try?
<br><br>How to proceed:<br>1) Make sure the SPSS file is valid and created in a standard way (I assume<br>so).<br>2) Make sure you get the same bug, if you run in a plain R session.<br>3) Upload the test file to some web-server (we can put it under temp/ on
<br>RKWard, if you have no other good location).<br>4) Write a mail to r-help AT <a href="http://r-project.org">r-project.org</a> detailing the steps to reproduce<br>the problem in a plain R session (they don't let too many attachments
<br>through, so that's the reason for step 3)<br>5) Hope they'll either suggest a workaround or fix this.</blockquote><div><br>I will try to do it in plain R. However I believe that it would be better to continue the thread you started with german example, if Stefan can reproduce this.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I can't do this myself because I don't have access to SPSS, and I could not
<br>even tell, when all characters are read correctly vs. when they are messed up<br>in the greek example you provided, so I could not answer back any questions.<br><br>> Can we have a drop-down list at the "other enconding" field having the
<br>> encondings from iconvlist() ?<br><br>Not easily, no. The list will have to be static, and iconvlist() may differ<br>across systems. Also this list has nearly 1000 entries on this machine! Of<br>course we can add several more to the selection list (probably all
<br>ISO8859-[1..15], don't know, which other ones may be common).</blockquote><div><br>Yes that was what I was thinking too. At least for the languages it is translated for start and after request for more. I don't know if iso series is good. Maybe we will have to use (also) the windows encondings.
<br></div><br>Regards,<br>Ilias<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Regards<br>Thomas<br><br>-------------------------------------------------------------------------
<br>Using Tomcat but need to do more? Need to support web services, security?<br>Get stuff done quickly with pre-integrated technology to make your job easier.<br>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a><br>_______________________________________________
<br>RKWard-devel mailing list<br><a href="mailto:RKWard-devel@lists.sourceforge.net">RKWard-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/rkward-devel">https://lists.sourceforge.net/lists/listinfo/rkward-devel
</a><br><br><br></blockquote></div><br>