[R] How to specify multiple regular expressions for pattern argument

2012-05-11 Thread Jun Shen
Dear list, I want to show all the objects starting with d and ending with a digit. How do I specify these conditions in the pattern argument I can do one condition but not two ls(pattern='^d') ls(pattern='[[:digit:]]$') are working. But, ls(pattern='^d''[[:digit:]]$') is not working.

Re: [R] How to specify multiple regular expressions for pattern argument

2012-05-11 Thread Jeff Newmiller
ls(pattern='^d.*[[:digit:]]$') --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...

Re: [R] How to specify multiple regular expressions for pattern argument

2012-05-11 Thread Tyler Rinker
Subject: [R] How to specify multiple regular expressions for pattern argument Dear list, I want to show all the objects starting with d and ending with a digit. How do I specify these conditions in the pattern argument I can do one condition but not two ls(pattern='^d') ls(pattern

Re: [R] How to specify multiple regular expressions for pattern argument

2012-05-11 Thread Berend Hasselman
On 11-05-2012, at 20:18, Jun Shen wrote: Dear list, I want to show all the objects starting with d and ending with a digit. How do I specify these conditions in the pattern argument I can do one condition but not two ls(pattern='^d') ls(pattern='[[:digit:]]$') are working. But,