Re: [R] Setting working directory interactively within a function

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Sat 15 Oct 2005 - 04:02:29 EST

library(tcltk)
setwd(tclvalue(tkchooseDirectory()))

On 10/14/05, Paul Baer <pbaer@berkeley.edu> wrote:
> Is there anyway to have a function prompt the user for a working
> directory, equivalent to file.choose()?



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Oct 15 04:26:37 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:54:33 EST