[R] GUI Command Equivalent for setwd()

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Sun Jun 9 09:15:58 CEST 2002

On Sun, 9 Jun 2002, Jess Mar wrote:

> Hi everyone,
> Can anyone tell me if there's a command prompt on R1.5.0 Windows that will
> bring up the GUI dialog box that performs the same function as setwd() only
> interactively? I've hunted around, but can't seem to find anything.
> Something like file.choose().

There is no R-level function provided. It would be easy to add one, along
the lines of package windlgs, as there is a C function askchangedir();

It's not clear to me why one would want to this this, though.

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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list