Re: [Rd] R-gui and chinese character

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu, 24 Apr 2008 10:50:34 +0100 (BST)

On Thu, 24 Apr 2008, Dieter Menne wrote:

> I had to test an R-application that works with Chinese character. Just for fun,
> I took one character from WikiPedia, pasted it into R-Gui, and pressed enter.
> Rgui smoothly closed down without saying anything else.
>
> I am aware, this is not serious....
>
> 鳳

Yes, nobody has said that you can paste in Unicode chars that are not valid in your locale. Unfortunately there seems to be a bug in the MSVCRT function used, and this ends up returning an empty string to the R engine, which takes that as EOF. On my machine, I can click on 'cancel'.

The relevant code was altered by our Japanese colleagues during alpha testing to make things work for them. We'll see if we can make it more robust.

Thank you for the report, but it would have been *much* preferable to have received it in the alpha/beta/RC period (and such reports are less likely to be overlooked if sent to R-windows).

>
>
> R version 2.7.0 (2008-04-22)
> Windows Vista, Service Pack 1
> English locale, German Vista
>
> Dieter
>
> ______________________________________________
> 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

______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Thu 24 Apr 2008 - 10:07:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Apr 2008 - 12:31:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive