Re: [R] Possible bug in file.choose() - how to tell?

From: Prof Brian Ripley <>
Date: Wed 15 Jun 2005 - 19:05:22 EST

OS? R version? Locale?

This is a known problem with R 2.1.0 on Windows in some locales, solved long ago in R-patched.

On Wed, 15 Jun 2005, Hans-Peter wrote:

> Hi,
> I run a script file by dropping it on a windows batch file that runs R
> in --slave modus. In a subfunction there is the call to file.choose().
> The problem is, that the dialog does show only folders but no files at
> all. It's quite strange: a) without --slave modus the files are shown,
> b) when I copy the whole script file in a different file it was also
> ok, but when I renamed the script, the dialog again only showed folder
> names.
> Questions:
> - Is it appreciated if I submit a bug report on this issue? How would
> I do it and to whom?
> - I would like to have a look at the source code. As the prompt gives me:
> > file.choose
> function (new = FALSE)
> .Internal(file.choose(new))
> <environment: namespace:base>
> I suppose I had to download the source code of the base package and it would
> be C code. Is this right?

No, it is R code. But internal functions are in C.

> PLEASE do read the posting guide!

Yes, that does apply to you! Please do supply the basic information it asks for. If you want to allege a bug, so read carefully the section on BUGS in the FAQ.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Wed Jun 15 19:09:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:39 EST