[R] choose.dir() gone?

Michael Grant mwgrant2001 at yahoo.com
Wed Sep 8 12:06:41 CEST 2010


Maybe 'tk_choose.dir' in the tcltk package will do what you want.

--- On Wed, 9/8/10, Johannes Graumann <johannes_graumann at web.de> wrote:

> From: Johannes Graumann <johannes_graumann at web.de>
> Subject: Re: [R] choose.dir() gone?
> To: r-help at stat.math.ethz.ch
> Date: Wednesday, September 8, 2010, 3:18 AM
> OK. Just checked and
> "choose.file"/"choose.dir" exists in the windows 
> version - apparently not in the linux one ... does anybody
> have a nice 
> platform-agnostic solution for this?
> 
> Thanks, Joh
> 
> Johannes Graumann wrote:
> 
> > Hi,
> > 
> > I fail to find "choose.dir()" in my current R install
> (see below)? Didn't
> > that exist at some point? How to achieve
> "file.choose()" equivalent
> > functionality for directories?
> > 
> > Thanks for any hints, Joh
> > 
> >> sessionInfo()
> > R version 2.11.1 (2010-05-31)
> > x86_64-pc-linux-gnu
> > 
> > locale:
> >  [1] LC_CTYPE=en_US.UTF-8     
>     LC_NUMERIC=C
> >  [3] LC_TIME=en_US.UTF-8     
>      LC_COLLATE=en_US.UTF-8
> >  [5] LC_MONETARY=en_US.UTF-8   
>    LC_MESSAGES=en_US.UTF-8
> >  [7] LC_PAPER=en_US.UTF-8     
>     LC_NAME=en_US.UTF-8
> >  [9] LC_ADDRESS=en_US.UTF-8     
>   LC_TELEPHONE=en_US.UTF-8
> > [11] LC_MEASUREMENT=en_US.UTF-8   
> LC_IDENTIFICATION=en_US.UTF-8
> > 
> > attached base packages:
> > [1] stats     graphics 
> grDevices utils     datasets 
> methods   base
> > 
> > other attached packages:
> > [1] rkward_0.5.3
> > 
> > loaded via a namespace (and not attached):
> > [1] tools_2.11.1
> 
> ______________________________________________
> 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.
> 






More information about the R-help mailing list