[R] File > Save As...

From: Gene Leynes <gleynes+r_at_gmail.com>
Date: Mon, 14 Mar 2011 16:03:15 -0500

As much as I love R, there are still the occasional shortcomings.

I would love to find a solution to the "save as..." problem.

Steps to reproduce the problem:

  1. Open any version of he R GUI in Windows
  2. Choose "File > Open" from the menu
  3. Open a script that is in a different directory
  4. Choose "File > Save As" from the menu

In just about any other application you would be presented with a GUI showing the current folder of the script and the current name of the script. You could then edit the name and save.

In R, you have to find the directory of the script and the script name. It can be annoying from a GUI perspective, especially if you typically work in one directory and store your scripts somewhere else, and the problem is worse when you have many script versions or directories.

I know there are many ways to work around this issue. I also know about the batch file project.

However, it seems like this is something that users shouldn't *need* to work around.

I think this is related to the fact that R has no way of knowing the location of any open script file.
(Please correct me if I'm wrong about that last part! )

I think this has come up before, but I couldn't find it in my searches. Is this a problem for other users as well? Should I post this to the development list? Is this change known to be possible / impossible? Can I help make the change?



        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 14 Mar 2011 - 21:07:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 Mar 2011 - 21:00:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive