Skip to content
Prev 69571 / 398525 Next

R2.1.0: Bug in list.files

Is that the entire story ? I tried this with yesterday's patched version 
(windows xp) and found:

 > list.files(getwd(),"*.txt",full=T)
Error in list.files(path, pattern, all.files, full.names, recursive) :
         invalid 'pattern' regular expression

 > list.files(getwd(),'.txt',full=T)
[1] "C:/Documents and Settings/suresh/BDE_SysInfo.txt"
[2] "C:/Documents and Settings/suresh/dxva_sig.txt"

Replacing "*.txt" with '*.txt' seems to do "something".

-s.
Uwe Ligges wrote: