[R] choose.dir() gone?

Johannes Graumann johannes_graumann at web.de
Wed Sep 8 09:18:36 CEST 2010


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



More information about the R-help mailing list