Re: [R] R on Windows crashes when source'ing UTF-8 file

2014-07-10 Thread Kenn Konstabel
I confirm that the original problem doesn't happen in R 3.1.1. in Windows (XP, this time). That is, source("http://psych.ut.ee/~R/test-utf8.txt";) .. no longer crashes R but gives a sensible (i.e., understandable, after this discussion) error. ... and adding encoding="UTF-8-BOM" reads in the file

Re: [R] R on Windows crashes when source'ing UTF-8 file

2014-07-10 Thread Duncan Murdoch
On 10/07/2014 9:53 AM, Kenn Konstabel wrote: Wow. Thanks a lot! source("http://psych.ut.ee/~nek/R/test-utf8.txt";, encoding="UTF-8-BOM") # works correctly on my Windows 7 machine # (and without encoding argument it still crashes R) Kenn On Thu, Jul 10, 2014 at 4:33 PM, John McKown wrote: > On

Re: [R] R on Windows crashes when source'ing UTF-8 file

2014-07-10 Thread Kenn Konstabel
Wow. Thanks a lot! source("http://psych.ut.ee/~nek/R/test-utf8.txt";, encoding="UTF-8-BOM") # works correctly on my Windows 7 machine # (and without encoding argument it still crashes R) Kenn On Thu, Jul 10, 2014 at 4:33 PM, John McKown wrote: > On Thu, Jul 10, 2014 at 7:18 AM, Kenn Konstabel

[R] R on Windows crashes when source'ing UTF-8 file

2014-07-10 Thread Kenn Konstabel
Dear all, I found an unexpected behaviour when trying to `source` an utf-8 file on windows 7: source("http://psych.ut.ee/~nek/R/test-utf8.txt";) # Rgui.exe reacts: # R for windows GUI has stopped working. A problem caused the program to stop working correctly. # Windows will close the program an