Patches are often created using a uniform context diff. You can create such a diff using diff -u .
For example, let's say you start with the file foo with the following contents.
Blah Blah Blah
Then you change it, saving the changes in a new file called foo.modified . Here is the content of foo.modified :
Blah Blah New information! Blah -- changing this line
Now running diff -u foo foo.modified calls the following.
--- foo 2011-11-05 20:59:13.000000000 -0700 +++ foo.modified 2011-11-05 20:59:44.000000000 -0700 @@ -1,3 +1,4 @@ Blah Blah -Blah +New information! +Blah -- changing this line
Please note that in many differences of version control systems a unified contextual diff is displayed.
As for where to send errors to R: it looks like there is a built-in function for this: bug.report . In addition, there is a web interface to the R error tracking system .
source share