[R] Python difflib R equivalent? -- Correction

Bert Gunter gunter.berton at gene.com
Thu Jul 28 17:08:51 CEST 2011

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 <bgunter at 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

More information about the R-help mailing list