[Rd] documentation source diff...

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Jun 4 11:35:45 CEST 2005


Dan Bolser wrote:

> Hi, I forgot the name of the function 'colSums', and expected to be able
> to find it through the 'see also' section of the documentation for the
> 'sum' function.

Good idea, I think it might be worth to be added to ?apply as well.


> Here is the diff I made of the altered documentation to facilitate this
> action... (p.s. I made the diff on the R-2.1.0 source).
> 
> 
> diff sum.Rd src/library/base/man/sum.Rd --context=2
> *** sum.Rd      2005-06-03 20:24:22.468224056 +0100
> --- src/library/base/man/sum.Rd 2005-04-18 22:30:27.000000000 +0100
> ***************
> *** 33,38 ****
>     Wadsworth \& Brooks/Cole.
>   }
> - \seealso{
> -   \code{\code{\link{colSums}}.

You don't want "\code" twice...

Some suggestions for further contributions:

- you want to use diff with option -u
- you want to use the original file as first argument and the changed 
file as second argument to diff.

Uwe Ligges




> - }
>   \keyword{arith}
> --- 33,35 ----
> 
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list