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 <- "x" b.in.a <- ??? (this is solved by "b %in% a" ) Cheers Joris On Mon, Apr 5, 2010 at 1:19 PM, <mailing-l...@gmx.net> wrote: > 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 > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical Consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control Coupure Links 653 B-9000 Gent tel : +32 9 264 59 87 joris.m...@ugent.be ------------------------------- Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.