Displaying 1 result from an estimated 1 matches for "abstracts_abc".
2010 Oct 27
1
multiple text or string searches
...cript but it is for only single searches at a
time.
how can i get multiple searches e.g
"xyz","abc","pqr".....at a time and can save the results to an out file.
script::
x<- "abc"
z<-NULL;for (i in 1:1235){{if
(as.integer(regexpr(pattern=x,as.character(abstracts_abc[i,2]),
ignore.case=TRUE)) != 1) z<- c(z, i) }}
temp<- z[1]; testfile<- abstracts_abc[temp,]
for (i in 2:250){temp<- z[i]; testfile<-
rbind(testfile,abstracts_abc[temp,])}
Kind regards
Ab Rauf Shah
[[alternative HTML version deleted]]