search for: coolum

Displaying 1 result from an estimated 1 matches for "coolum".

Did you mean: colum
2006 Aug 31
1
grep question
I am hoping for some advice as to how to modify the following syntax, so that instead of saving all records which refer to Farrah, I select all instances that do not include Farrah, or the word Coolum. test <- read.csv("c:\\newdat.csv", as.is=TRUE, header=T) sure <- test[grep('Farrah', paste(test$V3.HD, test$V3.LP, test$V3.TD)),] write.csv(sure,"c:/farrah4.csv") Any assistance is appreciated, regards Bob Green