[R] Possible bug in file.choose() - how to tell?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Jun 15 11:05:22 CEST 2005
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! http://www.R-project.org/posting-guide.html
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, 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
More information about the R-help
mailing list