[Rd] Sys.setlocale upsets windows graphics device (PR#8887)

edward.m at psu.ac.th edward.m at psu.ac.th
Mon May 22 09:44:39 CEST 2006


Hi,
We tried it on 3 separate windows XP computers using version 2.3.0.
The original locale is set for Thailand on all 3.
So how do we fix it? Is there another patch?
And why does the crash not happen with earlier R versions (eg. 2.2.1) on the 
same computer?

---
> Sys.getlocale()
[1] 
"LC_COLLATE=Thai_Thailand.874;LC_CTYPE=Thai_Thailand.874;LC_MONETARY=Thai_Thailand.874;LC_NUMERIC=C;LC_TIME=Thai_Thailand.874"
---

Thanks
Edward

----- Original Message ----- 
From: "Prof Brian Ripley" <ripley at stats.ox.ac.uk>
To: <edward.m at psu.ac.th>
Cc: <R-bugs at biostat.ku.dk>
Sent: Monday, May 22, 2006 2:32 PM
Subject: Re: [Rd] Sys.setlocale upsets windows graphics device (PR#8887)


> Works perfectly for me.  There was a bug in 2.2.1, but it was fixed in
> 2.2.1 patched (see CHANGES).
>
> What locale were you changing from?  (This might be a Windows problem 
> specific to your locale.)
>
> On Mon, 22 May 2006, edward.m at psu.ac.th wrote:
>
>> Full_Name: Edward McNeil
>> Version: 2.3.0
>> OS: Widows XP
>> Submission from: (NULL) (203.170.234.5)
>>
>>
>> Type the following:
>>
>>> Sys.setlocale("LC_ALL","C")
>>> hist(1:10)
>>
>> CRASH
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list