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

2006-07-10 Thread Randy Zelick
Hello there, This question is relative to WindowsXP, using R 2.2.1: 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

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

2006-07-10 Thread Richard M. Heiberger
choose.dir it is documented on the same page as choose.files __ 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

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

2006-07-10 Thread Duncan Murdoch
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

Re: [R] file.choose but for folder/directory -- THANKS!

2006-07-10 Thread Randy Zelick
Thanks to all who responded. I upgraded to 2.3.1 straight away, and choose.dir does exactly what I need. Cheers, =Randy= R. Zelick email: [EMAIL PROTECTED] Department of Biology voice: 503-725-3086 Portland State University fax: