Thanks for the clarification.
- Original Message -
From: "Duncan Murdoch"
To: "Sebastien Bihorel" , "Jeff Newmiller"
Cc: r-help@r-project.org
Sent: Thursday, January 10, 2019 11:43:14 AM
Subject: Re: [R] Diff'ing 2 strings
On 10/01/2019 11:38 a.m.
;, "Martin Møller Skarbiniks Pedersen" <
> traxpla...@gmail.com>
> Cc: "R mailing list"
> 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 co
ST, Sebastien Bihorel <
> sebastien.biho...@cognigencorp.com> wrote:
> >From which the diffobj package?
> >
> >
> >From: "Martin Møller Skarbiniks Pedersen"
> >To: "Sebastien Bihorel"
> >Cc: "R mailing list"
>
t.org, "Sebastien Bihorel" ,
"Martin Møller Skarbiniks Pedersen"
Cc: "R mailing list"
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:
org, "Sebastien Bihorel"
, "Martin Møller Skarbiniks Pedersen"
Cc: "R mailing list"
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, 201
mailing list"
>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.biho...@cognigencorp.com |
>sebastien.biho...@cognigencorp.com ] wrote:
>
>
&g
>From which the diffobj package?
From: "Martin Møller Skarbiniks Pedersen"
To: "Sebastien Bihorel"
Cc: "R mailing list"
Sent: Thursday, January 10, 2019 2:35:15 AM
Subject: Re: [R] Diff'ing 2 strings
On Sat, Jan 5, 2019, 14:58 Sebast
On Thu, 10 Jan 2019 at 09:23, Gerrit Eichner <
gerrit.eich...@math.uni-giessen.de> wrote:
> Don't you mean ?Rdiff ?
>
>
Oh yes.
The unix/linux command diff uses the rdiff-algorithme and it seems that
Rdiff in R uses the exactly same algorithme.
Regards
Martin
[[alternative HTML version d
?Rdiff perhaps??
Troels
-Oprindelig meddelelse-
Fra: R-help På vegne af Martin Møller
Skarbiniks Pedersen
Sendt: 10. januar 2019 08:35
Til: Sebastien Bihorel
Cc: R mailing list
Emne: Re: [R] Diff'ing 2 strings
On Sat, Jan 5, 2019, 14:58 Sebastien Bihorel <
sebast
Don't you mean ?Rdiff ?
Hth -- Gerrit
-
Dr. Gerrit Eichner Mathematical Institute, Room 212
gerrit.eich...@math.uni-giessen.de Justus-Liebig-University Giessen
Tel: +49-(0)641-99-32104 Arndtstr. 2
On Sat, Jan 5, 2019, 14:58 Sebastien Bihorel <
sebastien.biho...@cognigencorp.com wrote:
> Hi,
>
> Does R include an equivalent of the linux diff command?
>
yes.
?rdiff
/martin
[[alternative HTML version deleted]]
__
R-help@r-project.org mail
t: Saturday, January 5, 2019 10:19:42 AM
Subject: Re: [R] Diff'ing 2 strings
I do not know what you mean in your string context, as diff in Linux finds
lines in files that differ. A reproducible example -- posting guide! -- would
be most useful here.
However, maybe something of the foll
It's the "split" string not the "sep" string, as you and probably everyone
else already realizes.
And, of course, it could be a regular expression, not literally a character
string.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things int
I do not know what you mean in your string context, as diff in Linux finds
lines in files that differ. A reproducible example -- posting guide! --
would be most useful here.
However, maybe something of the following strategy might be useful:
1. Break up your strings into lists of string "chunks"
14 matches
Mail list logo