[R] list.files(getwd()) and list.files(getwd(), full.names=TRUE) appear to return directory names
Jason Rupert
jasonkrupert at yahoo.com
Tue Jun 23 21:06:40 CEST 2009
Is there any way to make list.files(getwd()) or list.files(getwd(),full.names=TRUE) stop returning directories?
Right now both appear to return both file names and folders within the location.
I would like for it only to return file names and not folders.
I am using this on Windows with R version 2.9.0 (2009-04-17).
Thank you again for all your help and any feedback.
Jason
More information about the R-help
mailing list