[R] Bug in 2.4.0 Windows menu setup

Duncan Murdoch murdoch at stats.uwo.ca
Thu Oct 5 04:51:16 CEST 2006


I've tracked down where this is occurring, but I don't know how to fix 
it.  Here's a summary:

If the language in Windows is set to simplified Chinese (i.e. Chinese 
(PRC)) and message translations are installed, then on startup Rgui 
crashes when it tries to install the console popup menu.  The crash 
comes when it gets an error trying to do a conversion using mbrtowc, and 
tries to report it using error(); but the R symbol table is needed for 
that, and it hasn't been set up yet.

I'm not sure which menu entry causes the crash, but I think it's not the 
first, so conceivably this is caused by an error in one of the 
translation files.  Indeed, setting the language to Chinese (Taiwan) works.

I don't know how to debug the translation files, so I'm going to have to 
leave this one for now.  I think Brian Ripley is the only one who 
understands all the details of what goes on in the translations, and 
he's away until Oct 9.

Duncan Murdoch

On 10/3/2006 9:00 PM, ronggui wrote:
> This morning I downloaded R-2.4.0 and install in under Windows. I customized
> the installation and choose "Message translations",but I could not launch
> Rgui.exe successfully( Rterm.exe worked fine). If I did't choose "Message
> translations", Rgui.exe worked fine.
> 
> "Message translations" is Simplified Chinese.
> 
>> version
>                _
> platform       i386-pc-mingw32
> arch           i386
> os             mingw32
> system         i386, mingw32
> status
> major          2
> minor          4.0
> year           2006
> month          10
> day            03
> svn rev        39566
> language       R
> version.string R version 2.4.0 (2006-10-03)
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list