MichaelChirico / r-bugs

A ⚠️read-only⚠️mirror of https://bugs.r-project.org/
20 stars 0 forks source link

[BUGZILLA #7807] Bug in Version 2010 #2397

Closed MichaelChirico closed 4 years ago

MichaelChirico commented 4 years ago

From: Michael Breuer <mbreuer@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-kiel.de> Dr. Michael Breuer
22.04.05 Ökologiezentrum der Universität Kiel Olshausenstraße 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.

With best regards

M. Breuer


METADATA

MichaelChirico commented 4 years ago

From: Duncan Murdoch <murdoch@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>> mbreuer@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-kiel.de wrote:

Dr. Michael 
Breuer                                                                        
22.04.05
Ökologiezentrum der Universität Kiel
Olshausenstraße 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 to try to show your scripts. Without that information your report is too vague to act on.

Duncan Murdoch


METADATA

MichaelChirico commented 4 years ago

From: Uwe Ligges <ligges@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-dortmund.de> Duncan Murdoch wrote:

mbreuer@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-kiel.de wrote:

> Dr. Michael 
> Breuer                                                                       
> 22.04.05
> Ökologiezentrum der Universität Kiel
> Olshausenstraße 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 to 
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

______________________________________________
R-devel@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::> mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

METADATA

MichaelChirico commented 4 years ago

From: Uwe Ligges <ligges@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-dortmund.de> ligges@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-dortmund.de wrote:

Duncan Murdoch wrote:

>mbreuer@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-kiel.de wrote:
>
>
>>Dr. Michael 
>>Breuer                                                                       
>>22.04.05
>>Ökologiezentrum der Universität Kiel
>>Olshausenstraße 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 to 
>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=de 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


METADATA

MichaelChirico commented 4 years ago

From: Prof Brian Ripley <ripley@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>> Looks like gettext cannot handle strings with embedded nulls.

I'll remove all such from translation.

On Fri, 22 Apr 2005 ligges@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-dortmund.de wrote:

ligges@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-dortmund.de wrote:

> Duncan Murdoch wrote:
>
>
>> mbreuer@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-kiel.de wrote:
>>
>>
>>> Dr. Michael
>>> Breuer
>>> 22.04.05
>>> Ökologiezentrum der Universität Kiel
>>> Olshausenstraße 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 to
>> 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=de 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@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::> mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

-- Brian D. Ripley, ripley@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ <CENSORING FROM DETECTED PHONE NUMBER ONWARDS; SEE BUGZILLA>


METADATA

MichaelChirico commented 4 years ago

NOTES: Problem with RGui translation to German gettext problem, fixed for 2.1.1


METADATA

MichaelChirico commented 4 years ago

Audit (from Jitterbug): Wed Apr 27 16:05:25 2005 ripley changed notes Wed Apr 27 16:05:25 2005 ripley moved from incoming to Windows Thu Apr 28 08:33:38 2005 ripley changed notes Thu Apr 28 08:33:38 2005 ripley moved from Windows to Windows-fixed


METADATA