[Rd] Bug in Windows File Selector (PR#7561)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Jan 25 07:02:49 CET 2005
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 rvet at uwaterloo.ca wrote:
> Full_Name: Paul Vet
> Version: 2.0.1
> OS: Windows 2000
> Submission from: (NULL) (126.96.36.199)
> 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\foo.ps")
> 4. Again, right click the plot, selecting "Save as postscript..."
> 5. The file chooser will open, with the R install directory as the starting
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, 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-devel