From ligges at statistik.uni-dortmund.de  Sat Jun  4 11:35:45 2005
From: ligges at statistik.uni-dortmund.de (Uwe Ligges)
Date: Sat Jun  4 11:32:53 2005
Subject: [Rd] documentation source diff...
In-Reply-To: <Pine.LNX.4.21.0506032021140.8717-100000@mail.mrc-dunn.cam.ac.uk>
References: <Pine.LNX.4.21.0506032021140.8717-100000@mail.mrc-dunn.cam.ac.uk>
Message-ID: <42A175F1.9030704@statistik.uni-dortmund.de>

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@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] documentation source diff...
Uwe Ligges