Re: [R] get the first character element from a list

2012-02-09 Thread Changbin Du
Thanks so much, David! I will try. On Thu, Feb 9, 2012 at 3:04 PM, David Winsemius wrote: > > On Feb 9, 2012, at 5:01 PM, Changbin Du wrote: > > test<-c("20120111_181515_001_**CCL54D_A01_S02_APL932_PL11_DL_** >> 20120111.CEL", >> "20120111_181516_002_CCL54D_**A02_S08_APL932_PL11_DL_**20120111.

Re: [R] get the first character element from a list

2012-02-09 Thread David Winsemius
On Feb 9, 2012, at 5:01 PM, Changbin Du wrote: test<- c("20120111_181515_001_CCL54D_A01_S02_APL932_PL11_DL_20120111.CEL", "20120111_181516_002_CCL54D_A02_S08_APL932_PL11_DL_20120111.CEL") test [1] "20120111_181515_001_CCL54D_A01_S02_APL932_PL11_DL_20120111.CEL" [2] "20120111_181516_002_CCL5