On 1/5/2006 2:11 PM, Berton Gunter wrote:
> In a similar vein, a GUI version is:
> 
> setwd(dirname(choose.files()))
> 
> This gives you a standard Windows file browser -- you just click on any file
> in the directory you want to set. Obviously, dirname(choose.files()) is an
> easy interactive way to get directories as strings if you need them. See
> also ?basename . 
> 

Brian Ripley added a function choose.dir() to R-devel, which will give 
you access to the code in the File|Change dir... menu item in R code. 
Won't be out for a few more months, though.

Duncan Murdoch

______________________________________________
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

Reply via email to