[R] exact pattern match in grep for column headers
1Rnwb
sbpurohit at gmail.com
Thu Oct 21 22:27:52 CEST 2010
the current code is like this
vidx<-grep(paste('^',vars[vi],'$',sep=''),gsub("[[:punct:]]","",strrl1[[datbeg-1]]),ignore.case=T)
where as the old one was
vidx<-grep(vars[vi],gsub("[[:punct:]]","",strrl1[[datbeg-1]]),ignore.case=T)
--
View this message in context: http://r.789695.n4.nabble.com/grep-tp3004422p3006240.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list