[R] dir.choose analog of file.choose

Michael Friendly friendly at yorku.ca
Mon May 16 20:23:39 CEST 2011


Under Windows (and maybe others) you can use file.choose() as a 
substitute for an explicit file=
argument in most places.
Is there an analog for what I'll call dir.choose(), so that I can say

setwd(dir.choose())

thx,
-Michael

-- 
Michael Friendly     Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University      Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street    Web:   http://www.datavis.ca
Toronto, ONT  M3J 1P3 CANADA



More information about the R-help mailing list