[Rd] Bug in Version 2010 (PR#7807)

ripley at stats.ox.ac.uk ripley at stats.ox.ac.uk
Thu Apr 28 08:30:56 CEST 2005


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--27464147-697381171-1114669841=:21056
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

Looks like gettext cannot handle strings with embedded nulls.

I'll remove all such from translation.

On Fri, 22 Apr 2005 ligges at statistik.uni-dortmund.de wrote:

> ligges at statistik.uni-dortmund.de wrote:
>
>> Duncan Murdoch wrote:
>>
>>
>>> mbreuer at ecology.uni-kiel.de wrote:
>>>
>>>
>>>> Dr. Michael
>>>> Breuer
>>>> 22.04.05
>>>> =D6kologiezentrum der Universit=E4t Kiel
>>>> Olshausenstra=DFe 75
>>>> 24118 Kiel
>>>>
>>>> Dear Ladies and Sirs,
>>>> After updating the R-Windows-program (binary) by the latest version
>>>> (2010), the R-Scripts that I want to execute are not shown in the
>>>> File-Window anymore. In the former version it worked correct.
>>>> However, if I call a script by command line, it will be found and
>>>> intepreted. I tried it on two PCs wirh Windows XP Home and Windows XP
>>>> Professional SP2.
>>>
>>>
>>>
>>> This is not enough information to allow us to try to duplicate your
>>> error.  Tell us where you keep your scripts, how you start R (the
>>> starting directory is likely important), and the exact steps you take t=
o
>>> try to show your scripts.  Without that information your report is too
>>> vague to act on.
>>>
>>> Duncan Murdoch
>>
>>
>>
>> Looks like it happens with the german (and maybe also other?)
>> translation. I'll take a closer look later.
>>
>> Uwe Ligges
>
> Indeed, if you set LANGUAGE=3Dde using the RGui-de.po as shipped with
> R-2.1.0, you won't see any files in that dialog. If you copy the english
> version to the translation, you see ALL files (not only R files as
> expected), and if you leave the translation blank (i.e. the english
> version will be displayed), you get the expected behaviour.
>
> I guess lines such as
>
>     setuserfilter(G_("R files (*.R)\0*.R\0S files (*.q)\0*.q\0All files
> (*.*)\0*.*\0\0"));
>
> in rui.c are casuing the trouble. "S files (*.q)" never appears in the
> *.po(t) file, so it's probably a gettext related problem, but I really
> don't know how to fix this ...
>
>
> Uwe Ligges
>
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

--=20
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
--27464147-697381171-1114669841=:21056--



More information about the R-devel mailing list