Re: [Rd] [patch] Documentation for list.files when no matches found

2019-01-07 Thread Tomas Kalibera
Thanks for the report, fixed in documentation in R-devel. Best Tomas On 1/7/19 3:03 AM, Jonathan Carroll wrote: Apologies in advance if this is already known but a search of the r-devel archive did not immediately turn up any mentions. list.files() (and thus dir()) returns character(0) when no

[Rd] [patch] Documentation for list.files when no matches found

2019-01-06 Thread Jonathan Carroll
Apologies in advance if this is already known but a search of the r-devel archive did not immediately turn up any mentions. list.files() (and thus dir()) returns character(0) when no files are found in the requested path. This is useful and expected behaviour as length(dir()) can be tested for suc