Skip to content
Prev 294532 / 398502 Next

Inf and lazy evaluation

R is lazy, but not quite that lazy ;-)

It's likely much easier to do this with regexps

something like

list.files()[grepl(paste0(filename, "-"[0123456789]+""), list.files())]

Michael
On Mon, May 14, 2012 at 3:34 PM, J Toll <jctoll at gmail.com> wrote: