Re: [Rd] documentation source diff...

2005-06-04 Thread Uwe Ligges

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.0 +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


__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] documentation source diff...

2005-06-04 Thread Dan Bolser
On Sat, 4 Jun 2005, Uwe Ligges wrote:

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.0 +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.


Thanks very much for the info (don't know how I ended up
'\code{\code{ing}}'!)

I added your information here

http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?DocEditHowTo

Which is a bit of a mess ;)

Cheers,
Dan.



Uwe Ligges




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


__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel