[R] list.files, recursively

Jannis bt_jannis at yahoo.de
Sun Nov 18 18:20:44 CET 2012


Dear R developers,


as far as I understand the manual of list.files(), there is only a way 
to exclude directories from the returned vector if you use list.files 
recursively. In non recursive mode, there seems to be no way of 
excluding directories (the include dirs argument does not seem to have 
any effect). Would it not be more intuitive and practical to allow the 
switching off of directory names in both cases?


Thanks a lot
Jannis



More information about the R-help mailing list