Re: [R] file.choose but for folder/directory?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Tue 11 Jul 2006 - 11:39:45 EST

On 7/10/2006 8:51 PM, Randy Zelick wrote:
> Hello there,
>
> This question is relative to WindowsXP, using R 2.2.1:

Time to upgrade. choose.dir (mentioned by Rich) was introduced in the next release.

Duncan Murdoch

>
> I am looking for a function that allows a user to interactively choose a
> directory so I can use list.files to process all the files in that
> directory. I've looked at getwd, but this is not interactive. The
> functions file.choose and choose.files are the right idea, but these only
> permit selection of a file within a folder, not the folder itself.
>
> Thanks for any and all suggestions,
>
> =Randy=
>
> R. Zelick email: zelickr@pdx.edu
> Department of Biology voice: 503-725-3086
> Portland State University fax: 503-725-3888
>
> mailing:
> P.O. Box 751
> Portland, OR 97207
>
> shipping:
> 1719 SW 10th Ave, Room 246
> Portland, OR 97201
>
> ______________________________________________
> 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



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 Tue Jul 11 11:48:19 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 11 Jul 2006 - 14:16:23 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.