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

From: Prof Brian Ripley <>
Date: Tue 26 Sep 2006 - 07:45:04 GMT

Yes, thank you. The conditions are that you are running in a locale with a different encoding from the system codepage, when a limit in graphapp was hit (so although the script is read correctly, it was not displayed correctly).

Fixed for 2.4.0.

On Tue, 26 Sep 2006, wrote:

> Full_Name: Otto Shtirlitz
> Version: 2.3.1
> OS: Win XP SP2
> Submission from: (NULL) (
> 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.
> ______________________________________________
> mailing list

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Tue Sep 26 17:49:53 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 26 Sep 2006 - 17:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.