Skip to content
Prev 294306 / 398503 Next

How to specify multiple regular expressions for pattern argument

I'm curious about the 'real' answer myself but this would work:



ls(pattern='^d')[ls(pattern='^d') %in% ls(pattern='[[:digit:]]$')]


Cheers,Tyler Rinker

----------------------------------------