[Rd] R script editor fails to read script longer then 1000 chars (non-English language settings) (PR#9254)

shtirlitz at verizon.net shtirlitz at verizon.net
Tue Sep 26 05:49:01 CEST 2006


Full_Name: Otto Shtirlitz
Version: 2.3.1
OS: Win XP SP2 
Submission from: (NULL) (71.102.102.246)


I believe it's the same situation as described in bug 9248. R script editor
cannot open file exceeding 1000 characters even if created in the same editor.
File is
all ANSI with symbols < 128 and with window line endings CR/LF (0x0D 0x0A).
The trick is the local settings : even if the OS is US if the language settings
for non-Unicode (Control Panel\Regional and Language options\Advanced\Language
for non-Unicode programs) is set to Russian in my case R only reads the first
1000 chars (and appends some garbage). If this setting is switched back to
English the problem goes away.




More information about the R-devel mailing list