Skip to content
Prev 69570 / 398525 Next

R2.1.0: Bug in list.files

Steve Roberts wrote:

            
>
You missed to read the NEWS that tells you:

     o   The regular expression code is now based on that in glibc 2.3.3.
     It has stricter conformance to POSIX, so metachars such as
     { } + * may need to be escaped where before they did not
     (but could have been).


Probably you want

  list.files(pattern = "\\.zip$", full.names = TRUE)

Uwe Ligges