?setwd
e.g. setwd(file.choose())

BTW, you could have found this on your own via help.search('working
directory') . Base R has quite good docs -- you should try them first.

-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
 
"The business of the statistician is to catalyze the scientific learning
process."  - George E. P. Box
 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Baer
> Sent: Friday, October 14, 2005 9:56 AM
> To: [email protected]
> Subject: [R] Setting working directory interactively within a function
> 
> Is there anyway to have a function prompt the user for a working 
> directory, equivalent to file.choose()?
> 
> --Paul
> 
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to