[R] how to get the GUI directory chooser on Windows?

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Feb 11 15:14:15 CET 2004


Liaw, Andy wrote:

> Dear R-help,
> 
> Can anyone tell me if it's possible to call up the "directory chooser" (the
> one you get when you click on "File" -> "Change Dir...") in Rgui from the R
> command line?  Seems like file.choose() can't be used to choose a directory.

Looks like there is no R function to do so.

The C level code is in
./src/gnuwin32/rui.c
and
./src/gnuwin32/graphapp/dialogs.c
and friends.

Uwe Ligges


> This is in R-1.8.1 on WinXPPro.
> 
> Any help much appreciated!
> 
> Andy
> 
> 
> 
> ------------------------------------------------------------------------------
> Notice:  This e-mail message, together with any attachments,...{{dropped}}
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list