[Rd] ?setGeneric garbled (PR#14153)

From: <ross_at_biostat.ucsf.edu>
Date: Thu, 17 Dec 2009 02:15:12 +0100 (CET)

Full_Name: Ross Boylan
Version: 2.10.0
OS: Windows XP
Submission from: (NULL) (

Some of the help for setGeneric seems to have been garbled. In the section "Basic Use", 5th paragraph (where the example counts as a single line 3rd paragraph) it says

     Note that calling 'setGeneric()' in this form is not strictly
     necessary before calling 'setMethod()' for the same function.  If
     the function specified in the call to 'setMethod' is not generic,
     'setMethod' will execute the call to 'setGeneric' itself.
     Declaring explicitly that you want the function to be generic can
     be considered better programming style; the only difference in the
     result, however, is that not doing so produces a You cannot (and
     never need to) create an explicit generic version of the primitive
     functions in the base package.


The stuff after the semi-colon of the final sentence is garbled, or at least unparseable by me. Probably something got deleted by mistake.

This is with ESS 5.7.1, Emacs 23.1.1.

This is a somewhat newish problem; the help in R 2.7 does not have the problem.

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 17 Dec 2009 - 01:21:51 GMT

This archive was generated by hypermail 2.2.0 : Sat 19 Dec 2009 - 21:11:12 GMT