[R] Opposite of 'diff'? [was: (no subject)]

Duncan Murdoch dmurdoch at pair.com
Tue Apr 13 20:59:25 CEST 2004


On Tue, 13 Apr 2004 10:58:35 -0700, Spencer Graves
<spencer.graves at pdf.com> wrote :

>What is "patch"?  I don't find it in R 1.8.1.  However, ?"diff" mentions 
>"diffinv";  that and "cumsum" perform as follows: 

"diff" is a Unix command to calculate differences between files.
"patch" is a Unix command to apply such differences to a file.

I'm pretty sure I misunderstood the question; "cumsum" is probably the
right answer.

Duncan Murdoch




More information about the R-help mailing list