Item 1 below should be changed to: 1. I do not know if any such PACKAGE exists.
(A "library" in R is a file directory where R packages are stored) -- Bert On Thu, Jul 28, 2011 at 8:05 AM, Bert Gunter <bgun...@gene.com> wrote: > Paul: > > 1. I do not know if any such library exists. > > 2. However, if I understand correctly, one usually does this sort of > thing in R with functions like ?match (or ?"%in%") and logical > comparison operations like ?"==" . Of course, for numeric > comparisons, you need to be aware of R FAQ 7.31 > > If you are interested in comparing what in R are character vectors, > then various string operators, e.g. ?grep, ?regexp and character > operation packages (e.g. gsubfn, stringr) may be of use. > > As usual, you are more likely to receive a helpful answer if you do as > the posting guide requests and provide a small, reproducible example > of the sort(s) of thing(s) you want to do. > > Cheers, > Bert ______________________________________________ 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.