[R] Diff'ing 2 strings

William Dunlap wdunl@p @ending from tibco@com
Thu Jan 10 17:48:59 CET 2019


> args(tools::Rdiff)
function (from, to, useDiff = FALSE, forEx = FALSE, nullPointers = TRUE,
    Log = FALSE)
NULL
> version$version.string
[1] "R version 3.4.3 (2017-11-30)"

(The 'tools' package is not attached by default, so use ::.)
Bill Dunlap
TIBCO Software
wdunlap tibco.com


On Thu, Jan 10, 2019 at 8:39 AM Sebastien Bihorel <
sebastien.bihorel using cognigencorp.com> wrote:

> Yep, I did. Got nothing. It does not come with R 3.4.3, which is the
> version I can use.
>
> R CMD Rdiff comes with this version, but it is a shell command not a R
> function. It is meant for diff'ing R output.
>
>
> ----- Original Message -----
> From: "Jeff Newmiller" <jdnewmil using dcn.davis.ca.us>
> To: r-help using r-project.org, "Sebastien Bihorel" <
> sebastien.bihorel using cognigencorp.com>, "Martin Møller Skarbiniks Pedersen" <
> traxplayer using gmail.com>
> Cc: "R mailing list" <r-help using r-project.org>
> Sent: Thursday, January 10, 2019 10:49:15 AM
> Subject: Re: [R] Diff'ing 2 strings
>
> Just type
>
> ?Rdiff
>
> it is in the preinstalled packages that come with R.
>
> On January 10, 2019 7:35:42 AM PST, Sebastien Bihorel <
> sebastien.bihorel using cognigencorp.com> wrote:
> >From which the diffobj package?
> >
> >
> >From: "Martin Møller Skarbiniks Pedersen" <traxplayer using gmail.com>
> >To: "Sebastien Bihorel" <sebastien.bihorel using cognigencorp.com>
> >Cc: "R mailing list" <r-help using r-project.org>
> >Sent: Thursday, January 10, 2019 2:35:15 AM
> >Subject: Re: [R] Diff'ing 2 strings
> >
> >
> >
> >On Sat, Jan 5, 2019, 14:58 Sebastien Bihorel < [
> >mailto:sebastien.bihorel using cognigencorp.com |
> >sebastien.bihorel using cognigencorp.com ] wrote:
> >
> >
> >Hi,
> >
> >Does R include an equivalent of the linux diff command?
> >
> >
> >
> >
> >yes.
> >?rdiff
> >
> >/martin
> >
> >
> >       [[alternative HTML version deleted]]
> >
> >______________________________________________
> >R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >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.
>
> --
> Sent from my phone. Please excuse my brevity.
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list