Hi,
I've been trying to set the directory for choose.files as follows:
[R2.9.0 running on XP]
setwd(C:/Documents and Settings/2/Data)
getwd()
infile2 = choose.files(filters = Filters[c(txt,All),], caption =
Choose ECD datafile)
#...do a bunch of stuff...
It appears the working directory
See http://finzi.psych.upenn.edu/Rhelp08/2009-March/192978.html
You can do something like:
default.search = paste(getwd(),/*.txt,sep=)
infile2 = choose.files(default.search,filters =
Filters[c(txt,All),], caption = Choose ECD datafile)
Schalk Heunis
On Wed, Sep 23, 2009 at 8:57 PM,
2 matches
Mail list logo