Skip to content
Prev 79045 / 398502 Next

Setting working directory interactively within a function

?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