[R] scan a directory and then make a string vector consisting of file names
Taka Matzmoto
sell_mirage_ne at hotmail.com
Fri Jun 1 04:18:35 CEST 2007
Dear R-users,
I am looking for a way to scan a directory and then make a string vector
consisting of the file names in the directory.
For example, under c:\temp\
there are 4 files
a.txt, b.txt, c.txt, and d.txt
I would like to have a string vector
c("a.txt","b.txt","c.txt","d.txt")
How do I do that?
Thanks
Taka,
_________________________________________________________________
Make every IM count. Download Messenger and join the im Initiative now.
Its free. http://im.live.com/messenger/im/home/?source=TAGHM_June07
More information about the R-help
mailing list