Re: [Rd] Bug in Windows File Selector (PR#7561)

From: Prof Brian Ripley <>
Date: Tue 25 Jan 2005 - 17:02:49 EST

The documented behaviour is for it to always start in the R working directory. That it does. To do what it is documented to do is not a bug.

On Tue, 25 Jan 2005 wrote:

> Full_Name: Paul Vet
> Version: 2.0.1
> OS: Windows 2000
> Submission from: (NULL) (
> The file selector for saving plots always starts in the R program
> directory. It is standard for Windows programs to start the file
> selector in the most recently saved-in directory.
> Steps to reproduce:
> 1. > plot (x) # for some data x
> 2. Right click new plot, choose "Save as postscript..."
> 3. Choose a different directory (e.g. "My Documents\R\")
> 4. Again, right click the plot, selecting "Save as postscript..."
> 5. The file chooser will open, with the R install directory as the starting
> location

Not true: it does use the current working directory.

> Expected Behaviour:
> The chooser dialog should start in the most-recently used directory.

So, you did not bother to read the README:

   The `load' menu items (Source R code, Display file, Load Workspace)    keep track of the directory that was last used, and start their dialog    boxes from that directory the next time they are used. That directory    can be made the working directory by the File | Change dir menu item.    All the `save' menu items start dialog boxes at the current working    directory: this includes `Save Workspace' and the various ways to save    graphics, as well as saving the workspace at the end of the session.

R users have found this more convenient.

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
Received on Tue Jan 25 16:09:13 2005

This archive was generated by hypermail 2.1.8 : Tue 25 Jan 2005 - 18:23:27 EST