[R] Co-occurrence

2010-04-05 Thread mailing-list
Hello together! I was searching through and different R sites, however I did not find any useful site for my problem. Is there any co-occurrence program in R which could work with text strings? Thanks for any help or hint, best regards, Georg __

Re: [R] Co-occurrence

2010-04-05 Thread Joris Meys
R contains a whole set of functions to work with text strings, of which following are definitely worth a look : ?substr ?strsplit ?grep ?gsub ... Please provide us with an exact problem, and some sample R-code, e.g. I want to see if a certain word occurs in a vector : a - c(a,b,x,c) b